Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: How can i calculate seconds value here? PinmemberLe@rner15-Aug-12 23:27 
QuestionI want to find out where the focus belongs after EN_KILLFOCUS? PinmemberFalconapollo15-Aug-12 18:24 
AnswerRe: I want to find out where the focus belongs after EN_KILLFOCUS? PinmemberTopCoder2315-Aug-12 19:26 
GeneralRe: I want to find out where the focus belongs after EN_KILLFOCUS? PinmemberFalconapollo15-Aug-12 20:32 
QuestionDisabling Windows ShortCut Keys PinmemberDon Guy14-Aug-12 13:42 
AnswerRe: Disabling Windows ShortCut Keys PinmemberAlbert Holguin14-Aug-12 14:17 
AnswerRe: Disabling Windows ShortCut Keys Pinmember«_Superman_»14-Aug-12 17:39 
AnswerRe: Disabling Windows ShortCut Keys PinmemberTopCoder2314-Aug-12 21:02 
To disable ALT + F4 simply return TRUE.
The code below intercepts ALT + F4 and does nothing.
 
More [here] , [here] and [here].
 

 
BOOL myDlg::PreTranslateMessage(MSG* pMsg) 
{
	if(pMsg->message==WM_KEYDOWN)
	{
		 if( GetKeyState( VK_MENU ) )
		 {
		     if( pMsg->wParam == VK_F4) ) { return TRUE; }
		 }
	}
 
return CDialog::PreTranslateMessage(pMsg);
}

AnswerRe: Disabling Windows ShortCut Keys Pinmemberpasztorpisti14-Aug-12 21:08 
AnswerRe: Disabling Windows ShortCut Keys PinmemberJoan Murt14-Aug-12 23:25 
QuestionAccessing Pixels with CreateDIBSection PinmemberMember 925534913-Aug-12 20:38 
AnswerRe: Accessing Pixels with CreateDIBSection [modified] PinmemberEugen Podsypalnikov13-Aug-12 21:05 
GeneralRe: Accessing Pixels with CreateDIBSection PinmemberMember 925534913-Aug-12 22:23 
AnswerRe: Accessing Pixels with CreateDIBSection Pinmemberpasztorpisti13-Aug-12 22:54 
GeneralRe: Accessing Pixels with CreateDIBSection PinmemberMember 925534914-Aug-12 7:58 
GeneralRe: Accessing Pixels with CreateDIBSection Pinmemberpasztorpisti14-Aug-12 8:09 
QuestionSpeed up a numerical Calculation. Circular Queue [modified] Pinmemberwhitbuzben1813-Aug-12 7:55 
AnswerRe: Speed up a numerical Calculation. Circular Queue [modified] PinmemberChris Losinger13-Aug-12 9:25 
GeneralRe: Speed up a numerical Calculation. Circular Queue Pinmemberpasztorpisti13-Aug-12 13:19 
AnswerRe: Speed up a numerical Calculation. Circular Queue PinmemberTopCoder2313-Aug-12 10:33 
QuestionVIsual Studio Plug-in for Heap Storage PinmemberForNow13-Aug-12 2:58 
QuestionRe: VIsual Studio Plug-in for Heap Storage Pingroup_AnsHUMAN_ 14-Aug-12 1:54 
AnswerRe: VIsual Studio Plug-in for Heap Storage PinmemberForNow14-Aug-12 6:41 
QuestionReplace a view in splitter window runtime. PinmemberRishav Prabhakar13-Aug-12 0:47 
AnswerRe: Replace a view in splitter window runtime. PinmvpRichard MacCutchan13-Aug-12 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 2 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid