Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Dialog box is not getting displayed [modified]

Dialog box is not getting displayed [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++learning
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dinu_IP
    wrote on last edited by
    #1

    Hi friends, I am facing very strange problem. My dialog box is not getting displayed on the screen. Here are the steps what I am doing: 1. Adding on dialog thru the resource 2. Adding class to that dialog using class wizard, say the class name is CDlgGamma. 3. Adding one button in menu, and the function for that button in the application DOC. 4. Adding the DlgGamma.h in the DOC cpp file say “#include DlgGamma.h” 5. on button click function I am creating the object of the dialog and doing DoModal() like following CDlgGamma dlgGamma; dlgGamma.DoModal(); 6. Now when I am compiling the application I am not getting any error 7. After running the application when I am clicking on the menu button I am not getting my dialog displayed, but if I press the "ALT" key of the keyboard the dialog gets displayed. I don’t understand why this is happening in my application. Because If I create new application and do the same thing then it’s working fine. Please help me out, need the help from forum Thanks in advance, -Dinesh. -- modified at 2:02 Monday 18th December, 2006

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups