Click here to Skip to main content
15,906,569 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Out of virtual memory Pin
Prakash Nadar9-Mar-04 4:40
Prakash Nadar9-Mar-04 4:40 
GeneralRelease <-> Debug woes Pin
Phil.Benson9-Mar-04 1:12
professionalPhil.Benson9-Mar-04 1:12 
GeneralRe: Release <-> Debug woes Pin
wb9-Mar-04 3:33
wb9-Mar-04 3:33 
GeneralRe: Release <-> Debug woes Pin
Phil.Benson9-Mar-04 3:42
professionalPhil.Benson9-Mar-04 3:42 
GeneralRe: Release <-> Debug woes Pin
wb9-Mar-04 3:56
wb9-Mar-04 3:56 
GeneralRe: Release <-> Debug woes Pin
Phil.Benson9-Mar-04 4:13
professionalPhil.Benson9-Mar-04 4:13 
GeneralRe: Release <-> Debug woes Pin
Phil.Benson22-Apr-04 1:48
professionalPhil.Benson22-Apr-04 1:48 
QuestionAre DLL`s slow? Pin
GDavy9-Mar-04 0:56
GDavy9-Mar-04 0:56 
AnswerRe: Are DLL`s slow? Pin
Prakash Nadar9-Mar-04 1:03
Prakash Nadar9-Mar-04 1:03 
AnswerRe: Are DLL`s slow? Pin
Anonymous9-Mar-04 4:26
Anonymous9-Mar-04 4:26 
GeneralWindowed DirectDraw screen garbage Pin
paulkned9-Mar-04 0:39
paulkned9-Mar-04 0:39 
GeneralModeless Dialog Box Pin
mmica9-Mar-04 0:19
mmica9-Mar-04 0:19 
GeneralRe: Modeless Dialog Box Pin
Prakash Nadar9-Mar-04 1:08
Prakash Nadar9-Mar-04 1:08 
GeneralRe: Modeless Dialog Box Pin
mmica9-Mar-04 1:44
mmica9-Mar-04 1:44 
GeneralRe: Modeless Dialog Box Pin
Prakash Nadar9-Mar-04 2:28
Prakash Nadar9-Mar-04 2:28 
GeneralRe: Modeless Dialog Box Pin
David Crow9-Mar-04 2:42
David Crow9-Mar-04 2:42 
GeneralRe: Modeless Dialog Box Pin
Prakash Nadar9-Mar-04 2:49
Prakash Nadar9-Mar-04 2:49 
GeneralRe: Modeless Dialog Box Pin
David Crow9-Mar-04 2:43
David Crow9-Mar-04 2:43 
GeneralRe: Modeless Dialog Box Pin
bilal789-Mar-04 1:51
bilal789-Mar-04 1:51 
well your problem might be as it seems from the description :
You are creating the dialog variable in the OnButtonXXX() function, and when you create the modeless dialog, means CreateDialog returns at that very moment, and so does your funtion ( after calling ::ShowWindow(...)). And when your function ends, scope of your dialog ends (this is the reason for flashing, it creates, then ShowWindow() gets called and then scope ends. Frown | :( ), Try to make the variable outside the function (class variable or global), and try the same code, hopefully it will work.

Regards,
Bilal Anjum
GeneralRe: Modeless Dialog Box Pin
mmica9-Mar-04 2:35
mmica9-Mar-04 2:35 
GeneralShellExecute - cannot use unc path Pin
Sara Burns8-Mar-04 23:36
Sara Burns8-Mar-04 23:36 
GeneralRe: ShellExecute - cannot use unc path Pin
David Crow9-Mar-04 2:25
David Crow9-Mar-04 2:25 
GeneralRe: ShellExecute - cannot use unc path Pin
Prakash Nadar9-Mar-04 2:31
Prakash Nadar9-Mar-04 2:31 
GeneralRe: ShellExecute - cannot use unc path Pin
Sara Burns10-Mar-04 0:02
Sara Burns10-Mar-04 0:02 
GeneralHelp need: I need a list control like in the left pane of the FileOpen dialog Pin
porfessorDavid8-Mar-04 22:59
porfessorDavid8-Mar-04 22:59 

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.