Results 1 to 2 of 2

Thread: VC++ - Question about dialogs..

  1. #1
    Cheeko
    Guest

    Question VC++ - Question about dialogs..

    Ok,

    I have an SDI project, and I used CFormView for the base class from which my view class will inherit. Now, I want to be able to change the form/dialog thing. (very very new to vc++ ).
    The dialog that is used atm is called IDD_FIRSTSDI_FORM.
    Say I add a command button and add a function so that when its clicked it changes that form to IDD_SOMEDIALOG_FORM - How would I do it?

    I hope you get my meaning - I dont mean doing pop up dialogs like yes no cancel etc..

    Cheers, Cheeko

  2. #2
    Megatron
    Guest
    Try
    Code:
    CMyDialog myDialog;
    myDialog.DoModal();

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