Results 1 to 3 of 3

Thread: Apperance of a Listbox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Oregon
    Posts
    64

    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

  2. #2

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Oregon
    Posts
    64

    Figured it out

    I figured it out. You have to use CreateWindowEx with the WS_EX_CLIENTEDGE extended style.

  3. #3
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    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.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width