Click here to Skip to main content
15,893,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
«_Superman_»3-Feb-09 20:59
professional«_Superman_»3-Feb-09 20:59 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Kiran Pinjala3-Feb-09 21:34
Kiran Pinjala3-Feb-09 21:34 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Smith#3-Feb-09 21:44
Smith#3-Feb-09 21:44 
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 
Hi,
I want to know is there a event/notification/method to know that dialog box is initialized. i.e. OnInitDialog() call is finished, dialog box is visible and all controls on it are visible.

Based on this, I need to show a message box depending upon some condition after dialog box is fully intialized. Right now i am able to do it by Setting a timer in OnInitDialog() function with delay of 400 ms. And then in OnTimer, i am able to show the message box depending upont the condition.

Other methods suggested to me are Use PostMessage() inside the OnInitdialog() with some user defined message and in handler i can show message box. But This does not work as it comes in the handler of User defined message before my dialog box is shown.

Please provide your views on this.

Thanks
Prashant
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 
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 

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.