Click here to Skip to main content
15,921,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMemory leak?? Pin
Bob Stanneveld23-Oct-04 7:17
Bob Stanneveld23-Oct-04 7:17 
AnswerRe: Memory leak?? Pin
Yulianto.23-Oct-04 17:05
Yulianto.23-Oct-04 17:05 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:08
Bob Stanneveld24-Oct-04 2:08 
AnswerRe: Memory leak?? Pin
Tim Smith23-Oct-04 18:14
Tim Smith23-Oct-04 18:14 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:07
Bob Stanneveld24-Oct-04 2:07 
AnswerRe: Memory leak?? Pin
Neville Franks24-Oct-04 0:18
Neville Franks24-Oct-04 0:18 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:02
Bob Stanneveld24-Oct-04 2:02 
GeneralError closing dialog Pin
Larsson23-Oct-04 6:55
Larsson23-Oct-04 6:55 
Well I get the error: ASSERT(::IsWindow(m_hWnd));

On my main dialog I show the modless dialog and on the modless dialog I try to close it.

MAIN dialog
CModless m_modless;
m_modless.ShowWindows(SW_SHOW); // Works Greate

Modless dialog (on close )
CModless m_modless;
m_modless.ShowWindow(SW_HIDE); // Get the error.

On initdialog on the main dialog I use,
m_modless.Create(IDD_MODLESS); // To create the modless dialog.

It works to show the dialog but not to close it.
What Im I doing wrong?
GeneralRe: Error closing dialog Pin
BlackDice23-Oct-04 7:12
BlackDice23-Oct-04 7:12 
GeneralRe: Error closing dialog Pin
Larsson23-Oct-04 7:54
Larsson23-Oct-04 7:54 
GeneralEmbedded dialog question Pin
BlackDice23-Oct-04 6:47
BlackDice23-Oct-04 6:47 
GeneralRe: Embedded dialog question Pin
Larsson23-Oct-04 6:56
Larsson23-Oct-04 6:56 
GeneralRESOLVED Pin
BlackDice23-Oct-04 8:10
BlackDice23-Oct-04 8:10 
Questionhow to download a web-page? Pin
includeh1023-Oct-04 6:09
includeh1023-Oct-04 6:09 
AnswerRe: how to download a web-page? Pin
Timothy Grabrian23-Oct-04 15:57
professionalTimothy Grabrian23-Oct-04 15:57 
AnswerRe: how to download a web-page? Pin
Michael Hendrickx24-Oct-04 15:49
Michael Hendrickx24-Oct-04 15:49 
AnswerRe: how to download a web-page? Pin
ThatsAlok24-Oct-04 22:48
ThatsAlok24-Oct-04 22:48 
QuestionError ? Pin
Larsson23-Oct-04 5:59
Larsson23-Oct-04 5:59 
AnswerRe: Error ? Pin
Michael P Butler23-Oct-04 8:51
Michael P Butler23-Oct-04 8:51 
Generalis there some thing similar to CWebBrowser2... Pin
includeh1023-Oct-04 5:16
includeh1023-Oct-04 5:16 
QuestionGUID's how importatnt are they? Pin
BlackDice23-Oct-04 3:38
BlackDice23-Oct-04 3:38 
AnswerRe: GUID's how importatnt are they? Pin
Leyu23-Oct-04 8:10
Leyu23-Oct-04 8:10 
AnswerRe: GUID's how importatnt are they? Pin
Blake Miller25-Oct-04 5:29
Blake Miller25-Oct-04 5:29 
GeneralRe: GUID's how importatnt are they? Pin
BlackDice25-Oct-04 11:52
BlackDice25-Oct-04 11:52 
Generalputting a dialog into a picture box control (or static text control) Pin
BlackDice23-Oct-04 3:35
BlackDice23-Oct-04 3:35 

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.