Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual Studio data types Pin
sirtimid31-Aug-05 23:26
sirtimid31-Aug-05 23:26 
AnswerRe: Visual Studio data types Pin
Giannakakis Kostas1-Sep-05 2:20
professionalGiannakakis Kostas1-Sep-05 2:20 
QuestionModal Window Pin
Nishad S31-Aug-05 23:10
Nishad S31-Aug-05 23:10 
AnswerRe: Modal Window Pin
toxcct31-Aug-05 23:18
toxcct31-Aug-05 23:18 
GeneralRe: Modal Window Pin
Cedric Moonen31-Aug-05 23:25
Cedric Moonen31-Aug-05 23:25 
GeneralRe: Modal Window Pin
toxcct31-Aug-05 23:30
toxcct31-Aug-05 23:30 
GeneralRe: Modal Window Pin
Cedric Moonen31-Aug-05 23:37
Cedric Moonen31-Aug-05 23:37 
AnswerRe: Modal Window Pin
Cedric Moonen31-Aug-05 23:30
Cedric Moonen31-Aug-05 23:30 
I've never done that but looking in the MSDN I have found some clues. You have to first create a class that inherits from CDialog, then inside this constructor call the parameterless constructor of CDialog and then call InitModalIndirect function passing a structure in which you describe how your dialog box will look like(take a look at the MSDN for more details).
Finally call DoModal.

Hope this helps
GeneralRe: Modal Window Pin
Nishad S31-Aug-05 23:39
Nishad S31-Aug-05 23:39 
GeneralRe: Modal Window Pin
Cedric Moonen31-Aug-05 23:52
Cedric Moonen31-Aug-05 23:52 
GeneralRe: Modal Window Pin
Nishad S31-Aug-05 23:57
Nishad S31-Aug-05 23:57 
AnswerRe: Modal Window Pin
Tim Smith1-Sep-05 3:00
Tim Smith1-Sep-05 3:00 
QuestionChild Dialogs Pin
Joel Holdsworth31-Aug-05 23:09
Joel Holdsworth31-Aug-05 23:09 
Question*JavaScript* Pin
Eytukan31-Aug-05 22:57
Eytukan31-Aug-05 22:57 
AnswerRe: *JavaScript* Pin
GDavy31-Aug-05 23:00
GDavy31-Aug-05 23:00 
QuestionOLAP examples(vc++) Pin
kuldeepjangir31-Aug-05 21:59
kuldeepjangir31-Aug-05 21:59 
AnswerRe: OLAP examples(vc++) Pin
Barm31-Aug-05 23:10
Barm31-Aug-05 23:10 
QuestionIs it possible to convert VB.NET form screens to VC++.net resource template? Pin
G Haranadh31-Aug-05 21:49
G Haranadh31-Aug-05 21:49 
AnswerRe: Is it possible to convert VB.NET form screens to VC++.net resource template? Pin
Joel Holdsworth31-Aug-05 23:21
Joel Holdsworth31-Aug-05 23:21 
QuestionMFC - message handling function does not seem to run Pin
/*Trucker*\31-Aug-05 21:22
/*Trucker*\31-Aug-05 21:22 
QuestionEvent watching... Pin
Nishad S31-Aug-05 19:55
Nishad S31-Aug-05 19:55 
AnswerRe: Event watching... Pin
John R. Shaw31-Aug-05 20:47
John R. Shaw31-Aug-05 20:47 
GeneralRe: Event watching... Pin
Nishad S31-Aug-05 22:59
Nishad S31-Aug-05 22:59 
GeneralRe: Event watching... Pin
John R. Shaw2-Sep-05 14:27
John R. Shaw2-Sep-05 14:27 
GeneralRe: Event watching... Pin
Tom Archer31-Aug-05 23:39
Tom Archer31-Aug-05 23:39 

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.