nav-left cat-right
cat-right

Add non modal dialog to project

If we have an existing project one needs to do the following steps to add an non-modal dialog. Example Project:   ModelessDialog.zip (45,5 KiB) Add a new dialog to the project and add a class for that dialog Add a member variable for the dialog to the application class. If our project is called ‚SecondDialog‘ the application class would then look like this class CSecondDialogApp : public CWinApp {...

Disable deprecation of functions

When using old functions in MFC which happens quite easily when one imports old VS6 examples or has to use old projects one gets this warning quite often: warning C4996: ‚fopen‘: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\programme\microsoft visual studio 8\vc\include\stdio.h(234): Siehe Deklaration...
Seite 3 von 3123