Click here to Skip to main content
15,880,796 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Kiran Pinjala3-Feb-09 22:24
Kiran Pinjala3-Feb-09 22:24 
QuestionRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
David Crow4-Feb-09 3:32
David Crow4-Feb-09 3:32 
QuestiontimeSetEvent only in Windows XP? Pin
nm_1143-Feb-09 19:25
nm_1143-Feb-09 19:25 
AnswerRe: timeSetEvent only in Windows XP? Pin
Stuart Dootson3-Feb-09 21:14
professionalStuart Dootson3-Feb-09 21:14 
QuestionEnsuring DialogBox is fully initialized Pin
prashantbhatia0073-Feb-09 19:03
prashantbhatia0073-Feb-09 19:03 
AnswerRe: Ensuring DialogBox is fully initialized Pin
SandipG 3-Feb-09 20:51
SandipG 3-Feb-09 20:51 
AnswerRe: Ensuring DialogBox is fully initialized Pin
prasad_som4-Feb-09 0:48
prasad_som4-Feb-09 0:48 
AnswerRe: Ensuring DialogBox is fully initialized Pin
Iain Clarke, Warrior Programmer4-Feb-09 1:28
Iain Clarke, Warrior Programmer4-Feb-09 1:28 
It's very dull, but what I've done in a similar situation is to have a member variable: m_bInitialised.

CMyDialog () : CDialog (blah)
{
   ...
   m_bInitialised = FALSE;
}

BOOL CMyDialog::OnInitDialog ()
{
   ...

   BOOL bReturn = CDialog::OnInitDialog ();
   m_bInitialised = TRUE;
   return bReturn;
}


Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

Questiondrives list Pin
K. Sushilkumar3-Feb-09 18:44
K. Sushilkumar3-Feb-09 18:44 
AnswerRe: drives list Pin
«_Superman_»3-Feb-09 20:56
professional«_Superman_»3-Feb-09 20:56 
QuestionSocket programming Pin
Member 46946273-Feb-09 18:25
Member 46946273-Feb-09 18:25 
AnswerRe: Socket programming Pin
«_Superman_»3-Feb-09 18:31
professional«_Superman_»3-Feb-09 18:31 
GeneralRe: Socket programming Pin
Member 46946273-Feb-09 18:41
Member 46946273-Feb-09 18:41 
GeneralRe: Socket programming Pin
«_Superman_»3-Feb-09 18:47
professional«_Superman_»3-Feb-09 18:47 
GeneralRe: Socket programming Pin
Member 46946273-Feb-09 20:46
Member 46946273-Feb-09 20:46 
GeneralRe: Socket programming Pin
Smith#3-Feb-09 20:49
Smith#3-Feb-09 20:49 
GeneralRe: Socket programming Pin
Member 46946273-Feb-09 21:16
Member 46946273-Feb-09 21:16 
GeneralRe: Socket programming Pin
Smith#3-Feb-09 21:59
Smith#3-Feb-09 21:59 
GeneralRe: Socket programming Pin
Member 46946273-Feb-09 22:42
Member 46946273-Feb-09 22:42 
QuestionProblem accessing C# dll in VC 6.0 Pin
raesa3-Feb-09 18:13
raesa3-Feb-09 18:13 
AnswerRe: Problem accessing C# dll in VC 6.0 Pin
«_Superman_»3-Feb-09 18:33
professional«_Superman_»3-Feb-09 18:33 
AnswerRe: Problem accessing C# dll in VC 6.0 Pin
Smith#3-Feb-09 20:47
Smith#3-Feb-09 20:47 
QuestionNeed patches For CString Memory Leaks in MFC Pin
Ramasani3-Feb-09 17:53
Ramasani3-Feb-09 17:53 
AnswerRe: Need patches For CString Memory Leaks in MFC Pin
Stuart Dootson3-Feb-09 21:17
professionalStuart Dootson3-Feb-09 21:17 
Questionhelp me please....(urgent).. Pin
rajesh_kumar3-Feb-09 17:41
rajesh_kumar3-Feb-09 17:41 

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.