Click here to Skip to main content
12,633,764 members (30,329 online)

C / C++ / MFC

 
SuggestionRe: How can i calculate seconds value here? Pin
pasztorpisti15-Aug-12 23:32
memberpasztorpisti15-Aug-12 23:32 
AnswerRe: How can i calculate seconds value here? Pin
Jochen Arndt16-Aug-12 2:43
memberJochen Arndt16-Aug-12 2:43 
GeneralRe: How can i calculate seconds value here? Pin
pasztorpisti16-Aug-12 2:52
memberpasztorpisti16-Aug-12 2:52 
AnswerRe: How can i calculate seconds value here? Pin
Richard MacCutchan15-Aug-12 23:23
mvpRichard MacCutchan15-Aug-12 23:23 
AnswerRe: How can i calculate seconds value here? Pin
pasztorpisti15-Aug-12 23:38
memberpasztorpisti15-Aug-12 23:38 
AnswerRe: How can i calculate seconds value here? Pin
Jochen Arndt15-Aug-12 23:49
memberJochen Arndt15-Aug-12 23:49 
GeneralRe: How can i calculate seconds value here? Pin
Le@rner16-Aug-12 0:27
memberLe@rner16-Aug-12 0:27 
QuestionI want to find out where the focus belongs after EN_KILLFOCUS? Pin
Falconapollo15-Aug-12 19:24
memberFalconapollo15-Aug-12 19:24 
AnswerRe: I want to find out where the focus belongs after EN_KILLFOCUS? Pin
TopCoder2315-Aug-12 20:26
memberTopCoder2315-Aug-12 20:26 
GeneralRe: I want to find out where the focus belongs after EN_KILLFOCUS? Pin
Falconapollo15-Aug-12 21:32
memberFalconapollo15-Aug-12 21:32 
QuestionDisabling Windows ShortCut Keys Pin
Don Guy14-Aug-12 14:42
memberDon Guy14-Aug-12 14:42 
AnswerRe: Disabling Windows ShortCut Keys Pin
Albert Holguin14-Aug-12 15:17
memberAlbert Holguin14-Aug-12 15:17 
AnswerRe: Disabling Windows ShortCut Keys Pin
«_Superman_»14-Aug-12 18:39
member«_Superman_»14-Aug-12 18:39 
AnswerRe: Disabling Windows ShortCut Keys Pin
TopCoder2314-Aug-12 22:02
memberTopCoder2314-Aug-12 22: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 Pin
pasztorpisti14-Aug-12 22:08
memberpasztorpisti14-Aug-12 22:08 
AnswerRe: Disabling Windows ShortCut Keys Pin
Joan Murt15-Aug-12 0:25
memberJoan Murt15-Aug-12 0:25 
QuestionAccessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 21:38
memberMember 925534913-Aug-12 21:38 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
Eugen Podsypalnikov13-Aug-12 22:05
memberEugen Podsypalnikov13-Aug-12 22:05 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 23:23
memberMember 925534913-Aug-12 23:23 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti13-Aug-12 23:54
memberpasztorpisti13-Aug-12 23:54 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534914-Aug-12 8:58
memberMember 925534914-Aug-12 8:58 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti14-Aug-12 9:09
memberpasztorpisti14-Aug-12 9:09 
QuestionSpeed up a numerical Calculation. Circular Queue Pin
whitbuzben1813-Aug-12 8:55
memberwhitbuzben1813-Aug-12 8:55 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
Chris Losinger13-Aug-12 10:25
memberChris Losinger13-Aug-12 10:25 
GeneralRe: Speed up a numerical Calculation. Circular Queue Pin
pasztorpisti13-Aug-12 14:19
memberpasztorpisti13-Aug-12 14:19 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
TopCoder2313-Aug-12 11:33
memberTopCoder2313-Aug-12 11:33 
QuestionVIsual Studio Plug-in for Heap Storage Pin
ForNow13-Aug-12 3:58
memberForNow13-Aug-12 3:58 
QuestionRe: VIsual Studio Plug-in for Heap Storage Pin
_AnsHUMAN_ 14-Aug-12 2:54
group_AnsHUMAN_ 14-Aug-12 2:54 
AnswerRe: VIsual Studio Plug-in for Heap Storage Pin
ForNow14-Aug-12 7:41
memberForNow14-Aug-12 7:41 
QuestionReplace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 1:47
memberRishav Prabhakar13-Aug-12 1:47 
AnswerRe: Replace a view in splitter window runtime. Pin
Richard MacCutchan13-Aug-12 4:04
mvpRichard MacCutchan13-Aug-12 4:04 
GeneralRe: Replace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 4:22
memberRishav Prabhakar13-Aug-12 4:22 
GeneralRe: Replace a view in splitter window runtime. Pin
Richard MacCutchan13-Aug-12 4:29
mvpRichard MacCutchan13-Aug-12 4:29 
QuestionHow to pan client area of a window using C++/VC++ code Pin
Member 935377613-Aug-12 0:52
memberMember 935377613-Aug-12 0:52 
AnswerRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 3:19
memberpasztorpisti13-Aug-12 3:19 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377616-Aug-12 21:17
memberMember 935377616-Aug-12 21:17 
AnswerRe: How to pan a window using C++/VC++ code Pin
TopCoder2313-Aug-12 9:42
memberTopCoder2313-Aug-12 9:42 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377618-Aug-12 20:35
memberMember 935377618-Aug-12 20:35 
AnswerRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 12:54
memberpasztorpisti13-Aug-12 12:54 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377613-Aug-12 21:17
memberMember 935377613-Aug-12 21:17 
GeneralRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 23:40
memberpasztorpisti13-Aug-12 23:40 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377616-Aug-12 21:16
memberMember 935377616-Aug-12 21:16 
GeneralRe: How to pan a window using C++/VC++ code Pin
pasztorpisti16-Aug-12 23:22
memberpasztorpisti16-Aug-12 23:22 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377616-Aug-12 23:56
memberMember 935377616-Aug-12 23:56 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
pasztorpisti17-Aug-12 0:00
memberpasztorpisti17-Aug-12 0:00 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377620-Aug-12 20:19
memberMember 935377620-Aug-12 20:19 
QuestionHow to change text in a text box while user is typing in another edit box in MFC.? Pin
mbatra3113-Aug-12 0:42
membermbatra3113-Aug-12 0:42 
AnswerRe: How to change text in a text box while user is typing in another edit box in MFC.? Pin
Richard MacCutchan13-Aug-12 1:38
mvpRichard MacCutchan13-Aug-12 1:38 
QuestionHow to generate Crystal Report in VC++ (VS2008) Pin
shiokbarnabas12-Aug-12 19:00
membershiokbarnabas12-Aug-12 19:00 
AnswerRe: How to generate Crystal Report in VC++ (VS2008) Pin
TopCoder2313-Aug-12 0:18
memberTopCoder2313-Aug-12 0:18 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.161208.2 | Last Updated 9 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid