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

C / C++ / MFC

 
AnswerRe: What is the function of __FILE__ and __LINE__? Pin
Rage21-Jan-03 21:33
professionalRage21-Jan-03 21:33 
GeneralRe: What is the function of __FILE__ and __LINE__? Pin
Peter Hancock21-Jan-03 21:48
Peter Hancock21-Jan-03 21:48 
GeneralRe: What is the function of __FILE__ and __LINE__? Pin
Rage21-Jan-03 21:56
professionalRage21-Jan-03 21:56 
GeneralRe: What is the function of __FILE__ and __LINE__? Pin
George221-Jan-03 22:07
George221-Jan-03 22:07 
Generalping broadcast problem.. Pin
supirsupian21-Jan-03 21:10
supirsupian21-Jan-03 21:10 
GeneralPreTranslateMessage does not handle F1 and F12 Pin
justin22321-Jan-03 20:58
justin22321-Jan-03 20:58 
GeneralRe: PreTranslateMessage does not handle F1 and F12 Pin
Joaquín M López Muñoz21-Jan-03 21:10
Joaquín M López Muñoz21-Jan-03 21:10 
GeneralRe: PreTranslateMessage does not handle F1 and F12 Pin
justin22321-Jan-03 21:20
justin22321-Jan-03 21:20 
You do not need to override OnHelpInfo.


Add this in PreTranslateMessage

// Magical mystical MFC F1 Help msg!
if(pMsg->message == 0x4d)
{
gLog.WriteLogfile("help");
return(TRUE); // Eat it
}


Got it from this article:
http://www.codeproject.com/winhelp/mfchelp.asp
GeneralRe: PreTranslateMessage does not handle F1 and F12 Pin
Joan M22-Jan-03 6:46
professionalJoan M22-Jan-03 6:46 
GeneralDo you know how to print ... Pin
Srijan21-Jan-03 18:12
Srijan21-Jan-03 18:12 
GeneralRe: Do you know how to print ... Pin
Roger Allen22-Jan-03 2:20
Roger Allen22-Jan-03 2:20 
GeneralC++ Operators Pin
Nilesh K.21-Jan-03 17:54
Nilesh K.21-Jan-03 17:54 
GeneralRe: C++ Operators Pin
Christian Graus21-Jan-03 18:57
protectorChristian Graus21-Jan-03 18:57 
GeneralRe: C++ Operators Pin
benjymous22-Jan-03 2:39
benjymous22-Jan-03 2:39 
GeneralRe: C++ Operators Pin
Christian Graus22-Jan-03 11:01
protectorChristian Graus22-Jan-03 11:01 
GeneralRe: C++ Operators Pin
Joel Lucsy22-Jan-03 3:04
Joel Lucsy22-Jan-03 3:04 
GeneralRe: C++ Operators Pin
Jörgen Sigvardsson22-Jan-03 3:30
Jörgen Sigvardsson22-Jan-03 3:30 
GeneralRe: C++ Operators Pin
Joel Lucsy22-Jan-03 3:51
Joel Lucsy22-Jan-03 3:51 
Generalquestion.... Pin
joshfl21-Jan-03 17:31
joshfl21-Jan-03 17:31 
GeneralRe: question.... Pin
Taka Muraoka21-Jan-03 17:48
Taka Muraoka21-Jan-03 17:48 
GeneralRe: question.... Pin
joshfl22-Jan-03 5:49
joshfl22-Jan-03 5:49 
GeneralCListCtrl SetItemData() Problem Pin
Jonah Bishop21-Jan-03 16:39
Jonah Bishop21-Jan-03 16:39 
GeneralRe: CListCtrl SetItemData() Problem Pin
Michael Dunn21-Jan-03 20:22
sitebuilderMichael Dunn21-Jan-03 20:22 
GeneralCFormView Accelerator Problem Pin
Jonah Bishop21-Jan-03 16:33
Jonah Bishop21-Jan-03 16:33 
GeneralDo Arab fonts require UNICODE??? (EOM) Pin
Paul M Watt21-Jan-03 15:52
mentorPaul M Watt21-Jan-03 15:52 

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.