Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: global variables Pin
Henry miller22-Jun-04 8:15
Henry miller22-Jun-04 8:15 
GeneralModeless Dialogs & Z order Pin
Mark Kinsley22-Jun-04 4:47
Mark Kinsley22-Jun-04 4:47 
GeneralRe: Modeless Dialogs & Z order Pin
V.22-Jun-04 4:57
professionalV.22-Jun-04 4:57 
GeneralRe: Modeless Dialogs & Z order Pin
PJ Arends22-Jun-04 5:26
professionalPJ Arends22-Jun-04 5:26 
GeneralRe: Modeless Dialogs & Z order Pin
Mark Kinsley22-Jun-04 5:49
Mark Kinsley22-Jun-04 5:49 
GeneralRe: Modeless Dialogs & Z order Pin
PJ Arends22-Jun-04 10:12
professionalPJ Arends22-Jun-04 10:12 
GeneralRe: Modeless Dialogs & Z order Pin
Mark Kinsley22-Jun-04 21:36
Mark Kinsley22-Jun-04 21:36 
GeneralModeless Dialogs Pin
si_6922-Jun-04 4:10
si_6922-Jun-04 4:10 
hi All

i am calling a modeless dialog from my doc class using

CCPServerWait* m_pWaitDlg;
m_pWaitDlg = new CCPServerWait;
m_pWaitDlg->Create(IDD_DCPSERVER_WAIT);
m_pWaitDlg->m_wait_mes = "Confiming School Details...Please Wait";

m_pWaitDlg->UpdateData(FALSE);
m_pWaitDlg->CenterWindow(CWnd::GetDesktopWindow());

m_pWaitDlg->ShowWindow(SW_SHOW);
m_pWaitDlg->UpdateWindow();
m_pWaitDlg->DestroyWindow();

now i have used this code successfully in other applications but in the current one is throwing out an error
on updatedata

i noticed when i debug that hWnd is equalling ????????

anyone any ideas ???

ta

simon
GeneralRe: Modeless Dialogs Pin
Johan Rosengren22-Jun-04 5:21
Johan Rosengren22-Jun-04 5:21 
GeneralRe: Modeless Dialogs Pin
David Crow22-Jun-04 5:59
David Crow22-Jun-04 5:59 
GeneralRe: Modeless Dialogs Pin
si_6923-Jun-04 1:17
si_6923-Jun-04 1:17 
GeneralRe: Modeless Dialogs Pin
David Crow23-Jun-04 2:04
David Crow23-Jun-04 2:04 
GeneralRe: Modeless Dialogs Pin
si_6923-Jun-04 2:28
si_6923-Jun-04 2:28 
GeneralRe: Modeless Dialogs Pin
David Crow23-Jun-04 2:40
David Crow23-Jun-04 2:40 
Generaldouble and float problem Pin
NMiceli22-Jun-04 3:50
NMiceli22-Jun-04 3:50 
GeneralRe: double and float problem Pin
Tim Smith22-Jun-04 4:01
Tim Smith22-Jun-04 4:01 
GeneralRe: double and float problem Pin
Antony M Kancidrowski22-Jun-04 4:20
Antony M Kancidrowski22-Jun-04 4:20 
GeneralRe: double and float problem Pin
David Crow22-Jun-04 6:09
David Crow22-Jun-04 6:09 
GeneralRe: double and float problem Pin
NMiceli22-Jun-04 6:58
NMiceli22-Jun-04 6:58 
Questionvirtual member is not called, but base implementation instead? Pin
CherezZaboro22-Jun-04 3:40
CherezZaboro22-Jun-04 3:40 
AnswerRe: virtual member is not called, but base implementation instead? Pin
Antony M Kancidrowski22-Jun-04 3:47
Antony M Kancidrowski22-Jun-04 3:47 
GeneralRe: virtual member is not called, but base implementation instead? Pin
CherezZaboro22-Jun-04 4:45
CherezZaboro22-Jun-04 4:45 
GeneralVC++ 6, ATL windows service, pausing... Pin
CherezZaboro22-Jun-04 3:33
CherezZaboro22-Jun-04 3:33 
GeneralRe: VC++ 6, ATL windows service, pausing... Pin
palbano22-Jun-04 5:44
palbano22-Jun-04 5:44 
GeneralInfo on Hooks Pin
Member 115017622-Jun-04 3:27
Member 115017622-Jun-04 3:27 

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.