Click here to Skip to main content
15,886,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionAccessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 20:38
Member 925534913-Aug-12 20:38 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
Eugen Podsypalnikov13-Aug-12 21:05
Eugen Podsypalnikov13-Aug-12 21:05 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 22:23
Member 925534913-Aug-12 22:23 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti13-Aug-12 22:54
pasztorpisti13-Aug-12 22:54 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534914-Aug-12 7:58
Member 925534914-Aug-12 7:58 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti14-Aug-12 8:09
pasztorpisti14-Aug-12 8:09 
QuestionSpeed up a numerical Calculation. Circular Queue Pin
whitbuzben1813-Aug-12 7:55
whitbuzben1813-Aug-12 7:55 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
Chris Losinger13-Aug-12 9:25
professionalChris Losinger13-Aug-12 9:25 
GeneralRe: Speed up a numerical Calculation. Circular Queue Pin
pasztorpisti13-Aug-12 13:19
pasztorpisti13-Aug-12 13:19 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
Software_Developer13-Aug-12 10:33
Software_Developer13-Aug-12 10:33 
QuestionVIsual Studio Plug-in for Heap Storage Pin
ForNow13-Aug-12 2:58
ForNow13-Aug-12 2:58 
QuestionRe: VIsual Studio Plug-in for Heap Storage Pin
_AnsHUMAN_ 14-Aug-12 1:54
_AnsHUMAN_ 14-Aug-12 1:54 
AnswerRe: VIsual Studio Plug-in for Heap Storage Pin
ForNow14-Aug-12 6:41
ForNow14-Aug-12 6:41 
QuestionReplace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 0:47
Rishav Prabhakar13-Aug-12 0:47 
AnswerRe: Replace a view in splitter window runtime. Pin
Richard MacCutchan13-Aug-12 3:04
mveRichard MacCutchan13-Aug-12 3:04 
GeneralRe: Replace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 3:22
Rishav Prabhakar13-Aug-12 3: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.