Click here to Skip to main content
15,895,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Timer without CWnd Pin
Randor 19-Aug-09 22:16
professional Randor 19-Aug-09 22:16 
AnswerRe: Timer without CWnd Pin
Nishad S19-Aug-09 22:21
Nishad S19-Aug-09 22:21 
AnswerRe: Timer without CWnd Pin
Ahmed Charfeddine19-Aug-09 22:27
Ahmed Charfeddine19-Aug-09 22:27 
AnswerRe: Timer without CWnd Pin
KarstenK19-Aug-09 22:46
mveKarstenK19-Aug-09 22:46 
QuestionMFC Dialog-based Document with multiple forms using VC++6 Pin
Raymond Cowin19-Aug-09 21:39
Raymond Cowin19-Aug-09 21:39 
AnswerRe: MFC Dialog-based Document with multiple forms using VC++6 [modified] Pin
Adam Roderick J19-Aug-09 21:59
Adam Roderick J19-Aug-09 21:59 
GeneralRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Raymond Cowin20-Aug-09 2:32
Raymond Cowin20-Aug-09 2:32 
AnswerRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Cedric Moonen19-Aug-09 22:02
Cedric Moonen19-Aug-09 22:02 
I guess by "forms" you are talking about a dialog, right ? It is a bit confusing because, in general, the term "forms" relate to managed C++ or C# (AFAIK). If you are 100% that you are doing pure C++ (well, with VC6 I guess that will be the case), then you have to create a new dialog and open that dialog.

To do so, create a new dialog resource in your resource files and open the class wizard. When doing so, it will ask you if you want to create a new class to associate with the resource and you have to say yes.
You can then use this new dialog class in your code and open the dialog by calling the DoModal() method.

You might want to look for more information by googling for dialog and MFC.

EDIT: by the way, choosing between an SDI app or a dialog based app really depends on what you want to do. If you want your calculator top open in a new window (new dialog), and you don't have something like data to be saved (the 'document'), the it is better to stick to a dialog based application because it is easier and you won't need all the stuff provided by an SDI app.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Raymond Cowin20-Aug-09 2:28
Raymond Cowin20-Aug-09 2:28 
GeneralRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Cedric Moonen20-Aug-09 2:32
Cedric Moonen20-Aug-09 2:32 
GeneralRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Raymond Cowin20-Aug-09 2:36
Raymond Cowin20-Aug-09 2:36 
GeneralRe: MFC Dialog-based Document with multiple forms using VC++6 Pin
Raymond Cowin20-Aug-09 3:14
Raymond Cowin20-Aug-09 3:14 
QuestionConfiguration Dependent String Table? [modified] Pin
Kyudos19-Aug-09 17:09
Kyudos19-Aug-09 17:09 
AnswerRe: Configuration Dependent String Table? Pin
KarstenK19-Aug-09 22:52
mveKarstenK19-Aug-09 22:52 
GeneralRe: Configuration Dependent String Table? Pin
Kyudos20-Aug-09 13:08
Kyudos20-Aug-09 13:08 
GeneralRe: Configuration Dependent String Table? Pin
KarstenK20-Aug-09 20:32
mveKarstenK20-Aug-09 20:32 
AnswerRe: Configuration Dependent String Table? Pin
Kyudos20-Aug-09 16:45
Kyudos20-Aug-09 16:45 
Question<< How Set Desktop Wallpaper with VC++ 2008 ? >> Pin
bzsolt9119-Aug-09 11:50
bzsolt9119-Aug-09 11:50 
AnswerRe: << How Set Desktop Wallpaper with VC++ 2008 ? >> Pin
«_Superman_»19-Aug-09 18:23
professional«_Superman_»19-Aug-09 18:23 
GeneralRe: << How Set Desktop Wallpaper with VC++ 2008 ? >> Pin
Hari-Adarapu20-Aug-09 7:30
Hari-Adarapu20-Aug-09 7:30 
GeneralRe: << How Set Desktop Wallpaper with VC++ 2008 ? >> Pin
bzsolt9120-Aug-09 10:14
bzsolt9120-Aug-09 10:14 
Questiontext pattern matching(wildcard) Pin
moh.hijjawi19-Aug-09 10:52
moh.hijjawi19-Aug-09 10:52 
AnswerRe: text pattern matching(wildcard) Pin
Stuart Dootson19-Aug-09 21:11
professionalStuart Dootson19-Aug-09 21:11 
GeneralRe: text pattern matching(wildcard) Pin
moh.hijjawi20-Aug-09 4:55
moh.hijjawi20-Aug-09 4:55 
QuestionFaq in C : Pin
madhu_v19-Aug-09 6:37
madhu_v19-Aug-09 6:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.