Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTreeCtrl edge not drawing when resized as part of CControlBar Pin
Phil Outram16-Aug-12 0:48
Phil Outram16-Aug-12 0:48 
AnswerSOLUTION!! Pin
Phil Outram16-Aug-12 2:06
Phil Outram16-Aug-12 2:06 
QuestionEnumprocessmodule fails Pin
Member 450808315-Aug-12 23:35
Member 450808315-Aug-12 23:35 
AnswerRe: Enumprocessmodule fails Pin
pasztorpisti15-Aug-12 23:39
pasztorpisti15-Aug-12 23:39 
AnswerRe: Enumprocessmodule fails Pin
David Crow16-Aug-12 3:59
David Crow16-Aug-12 3:59 
AnswerRe: Enumprocessmodule fails Pin
Software_Developer16-Aug-12 4:52
Software_Developer16-Aug-12 4:52 
QuestionHow can i calculate seconds value here? Pin
Le@rner15-Aug-12 21:35
Le@rner15-Aug-12 21:35 
QuestionRe: How can i calculate seconds value here? Pin
pasztorpisti15-Aug-12 22:18
pasztorpisti15-Aug-12 22:18 
AnswerRe: How can i calculate seconds value here? Pin
Le@rner15-Aug-12 22:25
Le@rner15-Aug-12 22:25 
SuggestionRe: How can i calculate seconds value here? Pin
pasztorpisti15-Aug-12 22:32
pasztorpisti15-Aug-12 22:32 
AnswerRe: How can i calculate seconds value here? Pin
Jochen Arndt16-Aug-12 1:43
professionalJochen Arndt16-Aug-12 1:43 
GeneralRe: How can i calculate seconds value here? Pin
pasztorpisti16-Aug-12 1:52
pasztorpisti16-Aug-12 1:52 
AnswerRe: How can i calculate seconds value here? Pin
Richard MacCutchan15-Aug-12 22:23
mveRichard MacCutchan15-Aug-12 22:23 
AnswerRe: How can i calculate seconds value here? Pin
pasztorpisti15-Aug-12 22:38
pasztorpisti15-Aug-12 22:38 
AnswerRe: How can i calculate seconds value here? Pin
Jochen Arndt15-Aug-12 22:49
professionalJochen Arndt15-Aug-12 22:49 
GeneralRe: How can i calculate seconds value here? Pin
Le@rner15-Aug-12 23:27
Le@rner15-Aug-12 23:27 
QuestionI want to find out where the focus belongs after EN_KILLFOCUS? Pin
Falconapollo15-Aug-12 18:24
Falconapollo15-Aug-12 18:24 
AnswerRe: I want to find out where the focus belongs after EN_KILLFOCUS? Pin
Software_Developer15-Aug-12 19:26
Software_Developer15-Aug-12 19:26 
GeneralRe: I want to find out where the focus belongs after EN_KILLFOCUS? Pin
Falconapollo15-Aug-12 20:32
Falconapollo15-Aug-12 20:32 
QuestionDisabling Windows ShortCut Keys Pin
Don Guy14-Aug-12 13:42
Don Guy14-Aug-12 13:42 
AnswerRe: Disabling Windows ShortCut Keys Pin
Albert Holguin14-Aug-12 14:17
professionalAlbert Holguin14-Aug-12 14:17 
AnswerRe: Disabling Windows ShortCut Keys Pin
«_Superman_»14-Aug-12 17:39
professional«_Superman_»14-Aug-12 17:39 
AnswerRe: Disabling Windows ShortCut Keys Pin
Software_Developer14-Aug-12 21:02
Software_Developer14-Aug-12 21:02 
AnswerRe: Disabling Windows ShortCut Keys Pin
pasztorpisti14-Aug-12 21:08
pasztorpisti14-Aug-12 21:08 
A common way to disable window closing is returning zero from WM_COMMAND. This is the place where ppl usually put the "Really wanna exit?" dialogs and they don't call DestroyWindow() if the user doesn't want to exit or has unsaved work (etc...). Some ppl like hiding the window more than destroying it on WM_CLOSE because this way it keeps the gui state. As for Ctrl+Alt+Del, and other ways to kill your process... If I guess right and you wanna prevent your program from closing/killing than instead of blocking Ctrl+Alt+Del it would be better to hide your process from process enumeration, I did that only on older windows systems and its quite windows version dependent how to do it, search a recent article about it with google.

EDIT: If you wanna block the Ctrl+Alt+Del to prevent windows shutdown, thats a useless idea because ppl use the power button from reflex in that case. Smile | :)
AnswerRe: Disabling Windows ShortCut Keys Pin
Joan M14-Aug-12 23:25
professionalJoan M14-Aug-12 23:25 

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.