Results 1 to 4 of 4

Thread: Wierd Problem w/ Resource Dialog

  1. #1

    Thread Starter
    Hyperactive Member AAG's Avatar
    Join Date
    Aug 2000
    Location
    United States
    Posts
    411

    Wierd Problem w/ Resource Dialog

    Today I was playin around with resource dialogs in MSVC++, i was testin controls such as command buttons and listboxes and what not, then i decided to add a progress bar.. i did and then when i compiled my program and tried to create my dialog, it doesn't show... i have included. CommCtrl.h and my resource.h file... does anybody know what the problem is ?? it does the same if i put a slider control ... tabb control and a few others....

    thanx for any help...
    This Business Is Binary. Your a 1 or a 0. Alive or Dead. (AntiTrust)

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    At the beginning of WinMain, you need to make the proper call to InitCommonControlsEx (see MSDN, or just search on Google or the forum).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Hyperactive Member AAG's Avatar
    Join Date
    Aug 2000
    Location
    United States
    Posts
    411
    Yo Thanx It Worked...
    This Business Is Binary. Your a 1 or a 0. Alive or Dead. (AntiTrust)

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Way cool...no probs
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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