Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Application Startup Pin
David Crow14-Feb-07 2:22
David Crow14-Feb-07 2:22 
AnswerRe: Application Startup Pin
Robin Imrie14-Feb-07 2:44
professionalRobin Imrie14-Feb-07 2:44 
GeneralRe: Application Startup Pin
David Crow14-Feb-07 3:26
David Crow14-Feb-07 3:26 
GeneralRe: Application Startup Pin
Robin Imrie14-Feb-07 3:35
professionalRobin Imrie14-Feb-07 3:35 
QuestionRe: Application Startup Pin
David Crow14-Feb-07 3:53
David Crow14-Feb-07 3:53 
AnswerRe: Application Startup Pin
Robin Imrie14-Feb-07 4:08
professionalRobin Imrie14-Feb-07 4:08 
GeneralRe: Application Startup Pin
David Crow14-Feb-07 4:14
David Crow14-Feb-07 4:14 
GeneralRe: Application Startup Pin
Robin Imrie14-Feb-07 4:35
professionalRobin Imrie14-Feb-07 4:35 
After adding various handlers (WM_ACTIVATE & WM_SHOWWINDOW) which just produce trace statments so I can see the order of events. I have come to the conclussion there there are two ways of tackling this... (could be more!)

1) Start a thread in response to a WM_ACTIVATE (with mechanizm to prevent it from being run a 2nd time).

2) Finish off the initialization from the InitInstance() function in the CWinApp derived class.

Do these seem good options?

Out of curiosity how could it be done if was using doc/view?
GeneralRe: Application Startup Pin
David Crow14-Feb-07 4:43
David Crow14-Feb-07 4:43 
Questiondelete a directory Pin
sheetal_0614-Feb-07 1:10
sheetal_0614-Feb-07 1:10 
AnswerRe: delete a directory Pin
Naveen14-Feb-07 1:18
Naveen14-Feb-07 1:18 
AnswerRe: delete a directory Pin
_AnsHUMAN_ 14-Feb-07 1:18
_AnsHUMAN_ 14-Feb-07 1:18 
QuestionSendMessage Pin
aaaan13-Feb-07 23:56
aaaan13-Feb-07 23:56 
AnswerRe: SendMessage Pin
Nibu babu thomas14-Feb-07 0:02
Nibu babu thomas14-Feb-07 0:02 
GeneralRe: SendMessage Pin
toxcct14-Feb-07 0:06
toxcct14-Feb-07 0:06 
GeneralRe: SendMessage Pin
Nibu babu thomas14-Feb-07 0:09
Nibu babu thomas14-Feb-07 0:09 
GeneralRe: SendMessage Pin
aaaan14-Feb-07 0:10
aaaan14-Feb-07 0:10 
GeneralRe: SendMessage Pin
Nibu babu thomas14-Feb-07 0:19
Nibu babu thomas14-Feb-07 0:19 
GeneralRe: SendMessage Pin
Naveen14-Feb-07 1:26
Naveen14-Feb-07 1:26 
AnswerRe: SendMessage Pin
Roger Stoltz14-Feb-07 1:40
Roger Stoltz14-Feb-07 1:40 
QuestionRe: SendMessage Pin
David Crow14-Feb-07 2:26
David Crow14-Feb-07 2:26 
QuestionBeep Pin
Kiran Pinjala13-Feb-07 23:10
Kiran Pinjala13-Feb-07 23:10 
AnswerRe: Beep Pin
toxcct13-Feb-07 23:19
toxcct13-Feb-07 23:19 
AnswerRe: Beep Pin
_AnsHUMAN_ 13-Feb-07 23:20
_AnsHUMAN_ 13-Feb-07 23:20 
AnswerRe: Beep Pin
Naveen13-Feb-07 23:22
Naveen13-Feb-07 23:22 

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.