Hi, I am using Windows XP and visual c 6.
I find a way to do this, is not a beautifull way but works. Each key the user press i get the EN_CHANGE event, then i read the edit. If the last caracter is equal to '\r' and the caracter before is '\n' i do something. It works, but i think it is not the best way to solve the problem. Rodrigo On Wed, Feb 13, 2008 at 11:18 AM, Thomas Hruska <[EMAIL PROTECTED]> wrote: > Rodrigo Bortholin wrote: > > When the user press ENTER i want to do something, but i can´t get this > > event(???). > > > > > > On Feb 10, 2008 10:43 PM, Thomas Hruska <[EMAIL > > PROTECTED]<thruska%40cubiclesoft.com>> > wrote: > > > >> Rodrigo Bortholin wrote: > >>> Hi, > >>> > >>> I am tring to get "ENTER" key in a EDIT field, but i don´t know how to > >> do > >>> this, I tried many times but id didn't work. > >>> > >>> Someone knows how to help me ? > >>> > >>> > >>> Thanks, > >>> Rodrigo > >> "Want Return"? > > I suggested "Want Return" initially because I figured you wanted the > Edit control to capture and process the enter key when it has focus. If > you want to do something else, you'll probably need to subclass the > control and process keyboard messages yourself. What OS, compiler, and > GUI toolkit are you using? > > -- > Thomas Hruska > CubicleSoft President > Ph: 517-803-4197 > > *NEW* MyTaskFocus 1.1 > Get on task. Stay on task. > > http://www.CubicleSoft.com/MyTaskFocus/<http://www.cubiclesoft.com/MyTaskFocus/> > > . > > > [Non-text portions of this message have been removed]
