Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
auitsrxc wrote:
It is the 'and open the dialog by calling the DoModal() method.' part that I am having trouble with.


If you followed the previous step, you should have a new class created in your project. When you want to open the dialog, simply create an instance of the class and call DoModal:

CMyNewDialog newDialog;<br />
newDialog.DoModal();


Of course, you need to have the class which has been created by the class wizard. Don't forget to include the header file of the class.

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: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&lt;&lt; How Set Desktop Wallpaper with VC++ 2008 ? &gt;&gt; Pin
bzsolt9119-Aug-09 11:50
bzsolt9119-Aug-09 11:50 
AnswerRe: &lt;&lt; How Set Desktop Wallpaper with VC++ 2008 ? &gt;&gt; Pin
«_Superman_»19-Aug-09 18:23
professional«_Superman_»19-Aug-09 18:23 
GeneralRe: &lt;&lt; How Set Desktop Wallpaper with VC++ 2008 ? &gt;&gt; Pin
Hari-Adarapu20-Aug-09 7:30
Hari-Adarapu20-Aug-09 7:30 
GeneralRe: &lt;&lt; How Set Desktop Wallpaper with VC++ 2008 ? &gt;&gt; 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 
AnswerRe: Faq in C : Pin
Selvam R19-Aug-09 8:19
professionalSelvam R19-Aug-09 8:19 
AnswerRe: Faq in C : Pin
Adam Roderick J19-Aug-09 19:29
Adam Roderick J19-Aug-09 19:29 

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.