Hello Mathias,

On 07.06.06, 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 ?

well.. a code snipplet would be nice... what do you return in
your EventHandler function f.ex? 

regards,
-- 
.tokai - christian rosentreter  @ http://www.christianrosentreter.com 

the sun sets, the sun rises


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/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/
 



Reply via email to