Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I post a user message from a Dialog box to the CDocument class? Pin
Electronic7511-Aug-08 17:59
Electronic7511-Aug-08 17:59 
AnswerRe: How can I post a user message from a Dialog box to the CDocument class? Pin
Randor 10-Aug-08 17:31
professional Randor 10-Aug-08 17:31 
GeneralRe: How can I post a user message from a Dialog box to the CDocument class? Pin
Electronic7510-Aug-08 20:11
Electronic7510-Aug-08 20:11 
QuestionRPC linking error in VC6.0 Pin
sunny_vc9-Aug-08 21:16
sunny_vc9-Aug-08 21:16 
AnswerRe: RPC linking error in VC6.0 Pin
Jijo.Raj9-Aug-08 21:40
Jijo.Raj9-Aug-08 21:40 
GeneralRe: RPC linking error in VC6.0 Pin
sunny_vc10-Aug-08 16:59
sunny_vc10-Aug-08 16:59 
Questionhow to make mfc opengl installer application Pin
yoel good9-Aug-08 18:21
yoel good9-Aug-08 18:21 
QuestionSpawning a new frame within a CDialog's OnBnClickedOk() has the effect of making the new frame immediately go behind the main frame Pin
Sternocera9-Aug-08 14:12
Sternocera9-Aug-08 14:12 
Hello,

I have a dialog through which users of my application can get various reports. They select a date from a calender, and click the dialog's OK button. Then, a new frame is spawned with the report. So far, so good. However, because OnOK() is called, the newly spawned frame is immediately placed behind the main frame(window). This is obviously undesirable. How can I close the dialog, but still have the new frame spawn in front of existing main frame? I've tried doing things like calling EndDialog(0), or OnCancel, which would have been acceptable solutions, had they worked Smile | :)

What Should I do?

Thanks,
Sternocera
QuestionRegOpenKey error i cant figure out Pin
locoone9-Aug-08 12:56
locoone9-Aug-08 12:56 
AnswerRe: RegOpenKey error i cant figure out Pin
David Crow9-Aug-08 16:23
David Crow9-Aug-08 16:23 
GeneralRe: RegOpenKey error i cant figure out [modified] Pin
locoone9-Aug-08 17:05
locoone9-Aug-08 17:05 
QuestionRe: RegOpenKey error i cant figure out Pin
Mark Salsbery10-Aug-08 8:03
Mark Salsbery10-Aug-08 8:03 
AnswerRe: RegOpenKey error i cant figure out Pin
Rob Manderson10-Aug-08 8:26
protectorRob Manderson10-Aug-08 8:26 
QuestionHaving problems with Templates Pin
BobInNJ9-Aug-08 4:05
BobInNJ9-Aug-08 4:05 
AnswerRe: Having problems with Templates Pin
Graham Shanks9-Aug-08 11:28
Graham Shanks9-Aug-08 11:28 
GeneralRe: Having problems with Templates Pin
BobInNJ10-Aug-08 5:49
BobInNJ10-Aug-08 5:49 
QuestionWhat are the limits of the drawing area in GDI? Pin
g_sandipan9-Aug-08 3:57
g_sandipan9-Aug-08 3:57 
AnswerRe: What are the limits of the drawing area in GDI? Pin
Mark Salsbery9-Aug-08 5:54
Mark Salsbery9-Aug-08 5:54 
AnswerRe: What are the limits of the drawing area in GDI? Pin
Randor 10-Aug-08 6:36
professional Randor 10-Aug-08 6:36 
Questionchange the target of a reference Pin
George_George9-Aug-08 2:28
George_George9-Aug-08 2:28 
AnswerRe: change the target of a reference Pin
Mark Salsbery9-Aug-08 5:57
Mark Salsbery9-Aug-08 5:57 
GeneralRe: change the target of a reference Pin
George_George10-Aug-08 14:53
George_George10-Aug-08 14:53 
GeneralRe: change the target of a reference Pin
Mark Salsbery11-Aug-08 5:41
Mark Salsbery11-Aug-08 5:41 
GeneralRe: change the target of a reference Pin
George_George11-Aug-08 19:54
George_George11-Aug-08 19:54 
AnswerRe: change the target of a reference [modified] Pin
Jijo.Raj9-Aug-08 6:25
Jijo.Raj9-Aug-08 6:25 

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.