On Wed, 7 Jun 2006, Mathias PARNAUDEAU wrote: > Hi all > > In a subclass of TextEditor, I want to reproduce the comportment of the > commande More or the read-only window in Yam, I mean : > - line movement when I press these keys : up, down, enter > - page movement when I press these keys : page up, page down, space, back > space > > So, I had a look at the YAM sources and implemented > MUIM_Window_AddEventHandler in MUIM_Setup of my subclass. My editor works > with up, down, page up and page down only. (nothing happened before I set > my object as the default object of the window). > > The first step is made but why the other keys (space, back space) have not > the same effect than in YAM ?
Did you try using higher priority for your handler? ------------------------ Yahoo! Groups Sponsor --------------------~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/16uqlB/TM --------------------------------------------------------------------~-> Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
