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 ?

Previously, I used MUIM_HandleInput and I caught the inputs but I didn't
succeed to send the orders to my object to change the current line.

Regards,

-- 
Mathias PARNAUDEAU



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/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