|
Prev: How to place focus back after error message window closed?
Next: problem while calling UpdateData(false) in a loop
From: AliR (VC++ MVP) on 14 May 2008 10:37 Or OnOK? AliR. "Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message news:kinl24hal9fffa8klrlbel98la8r1qbse9(a)4ax.com... > On OnChar? > > Show us the message map of the program that does this, if you can't show > the code. > joe > > On Tue, 13 May 2008 23:17:09 -0400, Joseph M. Newcomer > <newcomer(a)flounder.com> wrote: > >>No idea. Did you look for OnKeyDown? >> joe >> >>On Tue, 13 May 2008 18:24:02 -0700, Landon >><Landon(a)discussions.microsoft.com> wrote: >> >>>> Looked for the keywords where? >>>> >>>> On google, I got 36K+ hits for PreTranslateMessage. >>>> In MSDN, typing it into the Index search gets 5 hits, typing it into >>>> the Search window >>>> gets me 31 hits. >>>> >>>> WM_KEYDOWN gives hits for both the message and the OnKeyDown message. >>>> >>>> You can't say "I have tried to look for the keywords" unless you say, >>>> specifically, WHERE >>>> you tried to look for them, and it is clear that the two most important >>>> places, the MSDN >>>> and google, were not consulted. >>>> >>>> How "the" developer did this? Did what, and "the" developer is more >>>> likely several >>>> hundred thousand developers. >>>> >>>> There is no concept of "built-in property", although you can certainly >>>> add a handler for >>>> the virtual method PreTranslateMessage or the window message >>>> WM_KEYDOWN. >>>> joe >>> >>>No, what I mean was: >>> >>> I have looked for those keywords ( Return, PreTranslateMessage, Enter, >>>WM_KEYDOWN ) in the MFC SOURCE FILES( *.cpp, *.h, *.rc ) of the >>>application >>>which has been able to make Enter key behave like Tab key NOT on Google >>>or >>>other search engine on the WEB. >>>It really really does not make any sense if I don't found any of those >>>keywords on the web. >>> >>>What I just don't understand is what has that APPLICATION >>>developer/programmer done to make the Enter key works similar as the Tab >>>key >>>without any of Return, PreTranslateMessage, Enter, WM_KEYDOWN keywords in >>>his >>>SOURCE FILES? >>> >>>Got any idea how to do this? >>> >>>I am sorry to make you confused with my words on the previous post. >>> >>>Thank you very much. >>Joseph M. Newcomer [MVP] >>email: newcomer(a)flounder.com >>Web: http://www.flounder.com >>MVP Tips: http://www.flounder.com/mvp_tips.htm > Joseph M. Newcomer [MVP] > email: newcomer(a)flounder.com > Web: http://www.flounder.com > MVP Tips: http://www.flounder.com/mvp_tips.htm
First
|
Prev
|
Pages: 1 2 3 4 Prev: How to place focus back after error message window closed? Next: problem while calling UpdateData(false) in a loop |