|
-
Aug 31st, 2002, 06:47 PM
#1
Thread Starter
Lively Member
Apperance of a Listbox
How do I make a listbox using api calls that looks like one that's from VB. I've tried the different borders but didn't find the same one. Thanks
-
Aug 31st, 2002, 07:51 PM
#2
Thread Starter
Lively Member
Figured it out
I figured it out. You have to use CreateWindowEx with the WS_EX_CLIENTEDGE extended style.
-
Aug 31st, 2002, 09:13 PM
#3
PowerPoster
Go to http://www.winprog.com and check out the tutorial there.
To create a listbox with the style as in VB, set it's style to LBS_SIMPLE or LBS_STANDARD (can't remember which one). WS_EX_CLIENTEDGE will add some extra shadowed borders around the listbox will isn't quit like the one in vb.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|