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
Printable View
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
I figured it out. You have to use CreateWindowEx with the WS_EX_CLIENTEDGE extended style.
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.