|
Prev: How to place focus back after error message window closed?
Next: problem while calling UpdateData(false) in a loop
From: James Duy Trinh on 13 May 2008 21:53 Resource allow we set properties to tab key, To Enter, when user press Enter key, it can be effect to a button which set "default" properties "Landon" <Landon(a)discussions.microsoft.com> wrote in message news:A0604E42-AA74-4B2B-9826-82E4FE3D2A68(a)microsoft.com... >> 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.
From: Landon on 13 May 2008 22:17 "James Duy Trinh" wrote: > Resource allow we set properties to tab key, > To Enter, when user press Enter key, it can be effect to a button which set > "default" properties How to do that? What should I add / change in the .rc file? Please give me the detail explanation. I have search thouroughly on the .rc file but I also did not found anything related with the focus moving. Thank you very much.
From: James Duy Trinh on 13 May 2008 22:35 Properites as DEFPUSHBUTTON, WS_TABSTOP "Landon" <Landon(a)discussions.microsoft.com> wrote in message news:88404AB3-E5AE-4D92-A878-52F0ED4D34AA(a)microsoft.com... > "James Duy Trinh" wrote: > >> Resource allow we set properties to tab key, >> To Enter, when user press Enter key, it can be effect to a button which >> set >> "default" properties > > How to do that? What should I add / change in the .rc file? > Please give me the detail explanation. > > I have search thouroughly on the .rc file but I also did not found > anything > related with the focus moving. > > Thank you very much. > >
From: Joseph M. Newcomer on 13 May 2008 23:17 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
From: Joseph M. Newcomer on 14 May 2008 08:43 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
|
Next
|
Last
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 |