Click here to Skip to main content
15,924,195 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian1-May-07 20:54
professionalRajesh R Subramanian1-May-07 20:54 
AnswerRe: How to set a focus to a window which has controls? Pin
Joan M1-May-07 21:02
professionalJoan M1-May-07 21:02 
GeneralRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian1-May-07 21:09
professionalRajesh R Subramanian1-May-07 21:09 
GeneralRe: How to set a focus to a window which has controls? Pin
Mark Salsbery2-May-07 9:05
Mark Salsbery2-May-07 9:05 
GeneralRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian2-May-07 21:18
professionalRajesh R Subramanian2-May-07 21:18 
GeneralRe: How to set a focus to a window which has controls? Pin
Mark Salsbery5-May-07 5:56
Mark Salsbery5-May-07 5:56 
QuestionRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian5-May-07 8:27
professionalRajesh R Subramanian5-May-07 8:27 
AnswerRe: How to set a focus to a window which has controls? Pin
Mark Salsbery5-May-07 8:49
Mark Salsbery5-May-07 8:49 
Yes I meant the OS. Smile | :)

So, I looked again and found it right away LOL.

I had no idea PreTranslateMessage calls walked up the window heirarchy to the main window (not
that I ever came across a situation where it mattered until this discussion thread Smile | :) ).
Apparently it's for keyboard accelerator handling.

Ya learn something new everyday!

I wonder if this adds a danger to the misuse of PreTranslateMessage I see often on the message
boards...

Thank you so much!
Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian5-May-07 9:04
professionalRajesh R Subramanian5-May-07 9:04 
GeneralRe: How to set a focus to a window which has controls? Pin
Mark Salsbery5-May-07 9:15
Mark Salsbery5-May-07 9:15 
GeneralRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian5-May-07 9:18
professionalRajesh R Subramanian5-May-07 9:18 
AnswerRe: How to set a focus to a window which has controls? Pin
eli150219791-May-07 21:17
eli150219791-May-07 21:17 
QuestionRe: How to set a focus to a window which has controls? Pin
Rajesh R Subramanian1-May-07 21:22
professionalRajesh R Subramanian1-May-07 21:22 
AnswerRe: How to set a focus to a window which has controls? Pin
BarnaKol1-May-07 21:19
BarnaKol1-May-07 21:19 
Questiondownload a file from folder Pin
p_1-May-07 18:20
p_1-May-07 18:20 
AnswerRe: download a file from folder Pin
eugene.genis1-May-07 22:24
eugene.genis1-May-07 22:24 
AnswerRe: download a file from folder Pin
Christian Graus1-May-07 22:28
protectorChristian Graus1-May-07 22:28 
AnswerRe: download a file from folder Pin
Mark Salsbery2-May-07 9:07
Mark Salsbery2-May-07 9:07 
QuestionLCD with VC++ [modified] Pin
deeps_cute1-May-07 17:48
deeps_cute1-May-07 17:48 
AnswerRe: LCD with VC++ Pin
Rajesh R Subramanian1-May-07 20:26
professionalRajesh R Subramanian1-May-07 20:26 
AnswerRe: LCD with VC++ Pin
Muammar©1-May-07 21:18
Muammar©1-May-07 21:18 
AnswerRe: LCD with VC++ Pin
Hamid_RT1-May-07 21:53
Hamid_RT1-May-07 21:53 
QuestionRe: LCD with VC++ Pin
David Crow2-May-07 3:12
David Crow2-May-07 3:12 
Questiondatabase & datagrid Pin
hero19951-May-07 15:11
hero19951-May-07 15:11 
AnswerRe: database & datagrid Pin
Muammar©1-May-07 21:20
Muammar©1-May-07 21:20 

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.