Help creating a Dialog Application

  • Thread starter Nicolae Fieraru
  • Start date
N

Nicolae Fieraru

Hi All,

I just start learning Visual Studio 2002. I use C++ and I want to create a
dialog application.
For this I select File->New Project->Win32 Project and in the Application
Settings I chose Windows application.
Now, when I run the solution, I get a form with a menu and a dialog form.
All I want to get is a simple dialog form. How can I do this?

Regards,
Nicolae
 
G

Gerry Hickman

Hi,

If you want a .NET dialog application you have to use WinForms with
managed code.

If you want a "non .NET" dialog app, you should conisder using MFC -
just choose "dialog" in the wizard.
 
N

Nicolae Fieraru

Gerry Hickman said:
Hi,

If you want a .NET dialog application you have to use WinForms with
managed code.

If you want a "non .NET" dialog app, you should conisder using MFC - just
choose "dialog" in the wizard.
Gerry Hickman (London UK)

Hi Gerry,

I don't have the option WindForms in there (I have VS .Net 2002). I have for
example the option: Managed C++ Application, which is a console application.
I can add a dialog form to the resources, but when I run the application, I
only get a console window. Is there a way showing the dialog form when I run
the application?

Regards,
Nicolae
 
G

Gerry Hickman

Hi,

Something may be wrong with your setup.

1. Create a new solution
2. Right-click the solution and choose "Add" then "New Project"
3. Choose "Visual C++ Projects"
4. Choose ".NET Projects"
5. Choose "Windown Forms Application"

If you don't see these options, tell us exactly what you do see. I
tested this in VS.NET 2003, but I seem to remember it was similar in
VS.NET 2002.

I'm not sure why you want to program a dialog app in .NET with managed
C++ anyway, it seems a strange thing to want to do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top