Windows Application Form

S

Stu Cotts

When using the wizard to create a form the File Type of the header file (.h)
is set to C++ Form and the Code File (.cpp) is set to C\C++ Code, thus event
handlers are going into the header file, this does not seem to be good

Do I have some default setting wrong?

Any ideas how to get the .cpp as C++ Form and .h as C++ Header ??

Thanks
 
S

Sven Carstensen

Hi Stu,

Stu Cotts said:
When using the wizard to create a form the File Type of the header file (.h)
is set to C++ Form and the Code File (.cpp) is set to C\C++ Code, thus event
handlers are going into the header file, this does not seem to be good

Do I have some default setting wrong?

Any ideas how to get the .cpp as C++ Form and .h as C++ Header ??

As far as I know this is a limitation of the code wizards right now. The
other .net languages (VB.Net, C#, J#) do not split code between header and
implementation files. So the wizard architecture was designed to work only
with one type of source file not with a pair of source files.

Well, if you are used to template classes then this is not a real
limititation :)

Bye,
SvenC
 

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