Click here to Skip to main content
15,889,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Register ocx in Windows7 Pin
Richard Andrew x648-May-11 14:20
professionalRichard Andrew x648-May-11 14:20 
AnswerRe: Register ocx in Windows7 Pin
pandit848-May-11 21:10
pandit848-May-11 21:10 
AnswerRe: Register ocx in Windows7 Pin
Malli_S9-May-11 0:41
Malli_S9-May-11 0:41 
AnswerRe: Register ocx in Windows7 Pin
Max++9-May-11 15:12
Max++9-May-11 15:12 
Question"Ending program ... please wait" - what system message needs a response ? Pin
Still learning how to code8-May-11 8:56
Still learning how to code8-May-11 8:56 
AnswerRe: "Ending program ... please wait" - what system message needs a response ? Pin
Code-o-mat8-May-11 9:28
Code-o-mat8-May-11 9:28 
AnswerRe: "Ending program ... please wait" - what system message needs a response ? Pin
Luc Pattyn8-May-11 9:45
sitebuilderLuc Pattyn8-May-11 9:45 
GeneralRe: "Ending program ... please wait" - what system message needs a response ? Pin
Still learning how to code8-May-11 11:16
Still learning how to code8-May-11 11:16 
Found the "problem" ! (Embarresing really !) I wrote this app a long time ago and used a dialog-based MFC app but prevented the dialog appearing so that it effectively ran in the background. The main "routine" was in InitDialog() and effectively prevented messages being handled by the "window". Now create a thread in InitDialog(), let it complete, and hide the window in another way. WM_QUERYENDSESSION is now handled, and all works fine ! Thanks for your thought-provoking comments !! Smile | :)

Doug
Questionapplication messaging Pin
Krauze7-May-11 22:20
Krauze7-May-11 22:20 
AnswerRe: application messaging Pin
Richard MacCutchan7-May-11 23:33
mveRichard MacCutchan7-May-11 23:33 
GeneralRe: application messaging Pin
barneyman7-May-11 23:51
barneyman7-May-11 23:51 
GeneralRe: application messaging Pin
Richard MacCutchan8-May-11 0:08
mveRichard MacCutchan8-May-11 0:08 
QuestionRe: application messaging Pin
David Crow9-May-11 3:16
David Crow9-May-11 3:16 
AnswerRe: application messaging Pin
barneyman9-May-11 3:39
barneyman9-May-11 3:39 
GeneralRe: application messaging Pin
Code-o-mat8-May-11 9:35
Code-o-mat8-May-11 9:35 
Questionlzma on GPU Pin
crotaphiticus7-May-11 20:12
crotaphiticus7-May-11 20:12 
AnswerRe: lzma on GPU Pin
Code-o-mat8-May-11 6:22
Code-o-mat8-May-11 6:22 
GeneralRe: lzma on GPU Pin
crotaphiticus8-May-11 7:54
crotaphiticus8-May-11 7:54 
GeneralRe: lzma on GPU Pin
Code-o-mat8-May-11 9:39
Code-o-mat8-May-11 9:39 
GeneralRe: lzma on GPU Pin
crotaphiticus8-May-11 12:33
crotaphiticus8-May-11 12:33 
Questionabout multi linked list Pin
quartaela7-May-11 9:44
quartaela7-May-11 9:44 
AnswerRe: about multi linked list Pin
Luc Pattyn7-May-11 10:26
sitebuilderLuc Pattyn7-May-11 10:26 
GeneralRe: about multi linked list Pin
quartaela7-May-11 11:09
quartaela7-May-11 11:09 
GeneralRe: about multi linked list Pin
barneyman7-May-11 15:53
barneyman7-May-11 15:53 
GeneralRe: about multi linked list Pin
quartaela8-May-11 3:41
quartaela8-May-11 3: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.