Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Depends error Pin
Peter Weyzen8-May-07 19:56
Peter Weyzen8-May-07 19:56 
QuestionMIDL_user_free Pin
lucy8-May-07 5:13
lucy8-May-07 5:13 
AnswerRe: MIDL_user_free Pin
Hans Dietrich8-May-07 7:31
mentorHans Dietrich8-May-07 7:31 
GeneralRe: MIDL_user_free Pin
lucy8-May-07 7:33
lucy8-May-07 7:33 
QuestionVirtualAlloc/GlobalAlloc Pin
tom groezer8-May-07 5:07
tom groezer8-May-07 5:07 
AnswerRe: VirtualAlloc/GlobalAlloc Pin
Hans Dietrich8-May-07 5:29
mentorHans Dietrich8-May-07 5:29 
AnswerRe: VirtualAlloc/GlobalAlloc Pin
Hamid_RT9-May-07 6:49
Hamid_RT9-May-07 6:49 
QuestionAutomate Excel in VC++ Pin
Haiying8-May-07 4:11
Haiying8-May-07 4:11 
QuestionGraph related NP-Complete problem Pin
Kamrul Ahsan8-May-07 3:05
Kamrul Ahsan8-May-07 3:05 
AnswerRe: Graph related NP-Complete problem Pin
Hans Dietrich8-May-07 3:20
mentorHans Dietrich8-May-07 3:20 
QuestionThread deadlock Pin
tom groezer8-May-07 2:48
tom groezer8-May-07 2:48 
AnswerRe: Thread deadlock Pin
Roger Stoltz8-May-07 3:19
Roger Stoltz8-May-07 3:19 
AnswerRe: Thread deadlock Pin
Randor 9-May-07 4:14
professional Randor 9-May-07 4:14 
QuestionProblem in saving a file on remote host using upload.SaveAs() Method Pin
Tarun Dudhatra8-May-07 1:43
Tarun Dudhatra8-May-07 1:43 
QuestionF1 key Pin
prathuraj8-May-07 1:20
prathuraj8-May-07 1:20 
AnswerRe: F1 key Pin
Rajesh R Subramanian8-May-07 1:47
professionalRajesh R Subramanian8-May-07 1:47 
prathuraj wrote:
I tried the following but not success

in Pretranslatemessge()

case VK_F1:
return TRUE;

Why are you after that poor function? It walks all through MFC class hierarchy and it is a low level function. Don't mess with it.

Handle OnHelpInfo() (right click on your dialog in design mode, click events, then add a handler for WM_HELPINFO...)
BOOL CMyDlg::OnHelpInfo(HELPINFO* pHelpInfo) 
{
	AfxMessageBox("Help called");//do whatever...
	//return CDialog::OnHelpInfo(pHelpInfo);
	return false;
}




"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936

GeneralRe: F1 key Pin
prathuraj8-May-07 4:11
prathuraj8-May-07 4:11 
QuestionVC++ Intellisense Pin
vivekphlp8-May-07 0:04
vivekphlp8-May-07 0:04 
AnswerRe: VC++ Intellisense Pin
_AnsHUMAN_ 8-May-07 0:15
_AnsHUMAN_ 8-May-07 0:15 
GeneralRe: VC++ Intellisense Pin
vivekphlp8-May-07 1:09
vivekphlp8-May-07 1:09 
GeneralRe: VC++ Intellisense Pin
_AnsHUMAN_ 8-May-07 1:48
_AnsHUMAN_ 8-May-07 1:48 
GeneralRe: VC++ Intellisense Pin
Cedric Moonen8-May-07 2:05
Cedric Moonen8-May-07 2:05 
GeneralRe: VC++ Intellisense Pin
Paresh Chitte8-May-07 2:33
Paresh Chitte8-May-07 2:33 
GeneralRe: VC++ Intellisense Pin
Cedric Moonen8-May-07 2:45
Cedric Moonen8-May-07 2:45 
GeneralRe: VC++ Intellisense Pin
vivekphlp8-May-07 18:11
vivekphlp8-May-07 18:11 

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.