Results 1 to 4 of 4

Thread: Dialog wont show

  1. #1
    ChimpFace9000
    Guest

    Post

    For some reason this always returns null....

    Code:
    invoke	CreateDialogParam, addr hAppInstance, IDD_MAIN, NULL, addr MainDialogProc, NULL
    The dialog wont show because it returns null, is there something wrong in that line.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You need to pass the value in hAppInstance.
    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
    Guest
    Isnt that what im doing?

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I dunno....it just looks like you're passing the address. Oh well...I give up then
    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