How to set Startup Form in VC++

  • Thread starter Thread starter sach
  • Start date Start date
S

sach

Hi,
I am new to VC++. ... so..please help

How to set a Form as statup Form in VC++ Windows form application?

Thanks
 
sach said:
Hi,
I am new to VC++. ... so..please help

How to set a Form as statup Form in VC++ Windows form application?

Thanks

Look for the file that contains the _tWinMain function.
Include your class header in that file and change the word CLASS in line
Application::Run(new CLASS()); in your desired class.
 
Thanks !!
Working superb :-)


Michiel said:
Look for the file that contains the _tWinMain function.
Include your class header in that file and change the word CLASS in line
Application::Run(new CLASS()); in your desired class.
 

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

Back
Top