Click here to Skip to main content
15,790,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOT Pin
CPallini20-Aug-15 1:35
mveCPallini20-Aug-15 1:35 
GeneralRe: OT Pin
ThatsAlok20-Aug-15 2:51
ThatsAlok20-Aug-15 2:51 
GeneralRe: OT Pin
ThatsAlok20-Aug-15 2:53
ThatsAlok20-Aug-15 2:53 
QuestionCMFCToolBarComboBoxButton::GetByCmd returns NULL Pin
joliet17-Aug-15 21:26
joliet17-Aug-15 21:26 
AnswerRe: CMFCToolBarComboBoxButton::GetByCmd returns NULL Pin
Jochen Arndt17-Aug-15 21:59
professionalJochen Arndt17-Aug-15 21:59 
QuestionAdjust paper size Pin
Erich Ruth17-Aug-15 11:02
Erich Ruth17-Aug-15 11:02 
AnswerRe: Adjust paper size Pin
Kenneth Walters17-Aug-15 12:09
Kenneth Walters17-Aug-15 12:09 
QuestionWindows 10 & WM_QUERY_ENDSESSION/WM_ENDSESSION Pin
Peter Weyzen17-Aug-15 5:51
Peter Weyzen17-Aug-15 5:51 
Howdy!

With the new great OS -- 10 -- we're seeing something odd.
Running our installer is not shutting down our app.

We do receive the WM_QUERY_ENDSESSION and we do reply with TRUE ( ok to shutdown )
But, upon receiving the WM_ENDSESSION we receive a FALSE (don't shutdown).

Somewhere between the QUERY and the END -- "someone" is saying NO to this.

How does one go about debugging this sort of thing?

I've used SPY++ but am not finding it to be the most useful tool, except to confirm what I knew in code. SPY is not telling me who sends the QUERY. If I could figure out where these messages are coming from, maybe I could watch the conversations taking place around this transaction.

-- in previous versions of Windows this was not an issue -- it worked like we would expect. But Windows10 is telling me not to end my session.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">soonr.com -- PC Power delivered to your phone</a>

Questionc++ Qt or C# or JAVA !! Pin
Dreamer_X15-Aug-15 4:51
Dreamer_X15-Aug-15 4:51 
AnswerRe: c++ Qt or C# or JAVA !! Pin
OriginalGriff15-Aug-15 4:54
mvaOriginalGriff15-Aug-15 4:54 
AnswerRe: c++ Qt or C# or JAVA !! Pin
ThatsAlok20-Aug-15 1:24
ThatsAlok20-Aug-15 1:24 
QuestionFirst button of toolbar control get activated after another button get executed Pin
Amrit Agr14-Aug-15 2:35
Amrit Agr14-Aug-15 2:35 
QuestionCheckbox: SetFocus() doesn't draw broken rectangle around it Pin
Donguy197613-Aug-15 14:39
Donguy197613-Aug-15 14:39 
AnswerRe: Checkbox: SetFocus() doesn't draw broken rectangle around it Pin
Arthur V. Ratz13-Aug-15 20:13
professionalArthur V. Ratz13-Aug-15 20:13 
QuestionLearning C++ Pin
Kevin Marois13-Aug-15 12:12
professionalKevin Marois13-Aug-15 12:12 
AnswerRe: Learning C++ Pin
jeron113-Aug-15 13:09
jeron113-Aug-15 13:09 
GeneralRe: Learning C++ Pin
Kevin Marois13-Aug-15 13:13
professionalKevin Marois13-Aug-15 13:13 
AnswerRe: Learning C++ Pin
Nitin K. Kawale17-Aug-15 2:55
professionalNitin K. Kawale17-Aug-15 2:55 
QuestionURLDownloadToFile stopped working on Windows 10 Pin
DavidBaird12-Aug-15 14:18
DavidBaird12-Aug-15 14:18 
SuggestionRe: URLDownloadToFile stopped working on Windows 10 Pin
Ujesh Mohanan13-Aug-15 4:30
Ujesh Mohanan13-Aug-15 4:30 
GeneralRe: URLDownloadToFile stopped working on Windows 10 Pin
DavidBaird13-Aug-15 11:43
DavidBaird13-Aug-15 11:43 
QuestionHow to read an XML file in C++.? Pin
mbatra3112-Aug-15 1:02
mbatra3112-Aug-15 1:02 
JokeRe: How to read an XML file in C++.? Pin
enhzflep12-Aug-15 1:12
enhzflep12-Aug-15 1:12 
AnswerRe: How to read an XML file in C++.? Pin
David Crow12-Aug-15 2:58
David Crow12-Aug-15 2:58 
AnswerRe: How to read an XML file in C++.? Pin
Richard MacCutchan12-Aug-15 2:58
mveRichard MacCutchan12-Aug-15 2:58 

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.