Thread: dialog problem

  1. #1
    Vijay Singh

    Exclamation dialog problem

    am a newbie to VC ...

    I am writing a small Dialog Based application now when during the program execution when i create another dialog box that is in my resource


    mydialog = new CDialog();
    mydialog->ShowWindow(SW_SHOW |SW_SHOWNORMAL );

    the dialog popups up but the buttons handle on the new dialog box doesn't seems to work that i created from the class wizard .

    Please tell me where I am wrong .


    it just doesn't works

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    Need more information Vijay.

    Post some code or a zip.

    Check your callback switch statements for matching [case/break], one might be missing (in particular the WM_COMMAND switch). That is a common mistake.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. Problem With Vc++7 And Dialog Boxes...
    By elfjuice in forum Windows Programming
    Replies: 4
    Last Post: 05-07-2005, 02:23 AM
  3. Problem with MFC Wizard
    By okinrus in forum Windows Programming
    Replies: 1
    Last Post: 04-10-2004, 04:09 PM
  4. how to set this dialog to this
    By stallion in forum Windows Programming
    Replies: 3
    Last Post: 01-31-2003, 05:19 PM
  5. Dialog Edit box v's WindowsText Problem
    By simham_uk in forum Windows Programming
    Replies: 2
    Last Post: 06-10-2002, 07:28 AM