CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006

    How To Display Dialog Boxes Defined In Form1.h

    In an application, i want my About.h form dialog to run when i click About menu. In the MSND library, i saw such an example to display user defined dialogs;


    Form ^ f = gcnew Form();

    And i changed this code to display my About.h form dialog such as;


    Form ^ About = gcnew Form();

    But, i still see the same empty dialog instead of my About.h form. So how can i display this dialog when i click About menu ?

  2. #2
    Join Date
    Oct 2006

    Re: How To Display Dialog Boxes Defined In Form1.h

    Form is a generic form

    you need to change Form to the name of the actual form
    also make sure you import About.h

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