Hello Mathias,

On 15.06.06, Mathias PARNAUDEAU wrote:

> - Catch the message IDCMP_REFRESHWINDOW and call the Draw method of the
> window ? Any examples ?

> - I see that there is MUIM_Application_CheckRefresh and for ASL
> requesters, it seems that this is completely the solution. But I can't
> find a program in which this method is used.

> If there is an explanation and an example of code that we could share, it
> would be great !

whats wrong with the example from the autodocs?

anyway.... for morphos you should use the proper hook macros (see
porting guide on mdc).


in your asl tags:
    ASLFR_UserData    , ApplicationObject,
    ASLFR_IntuiMsgFunc, &IntuiMsgHook,

the hook (68k):
    SAVEDS ASM VOID IntuiMsgFunc(
       _a1 struct IntuiMessage *imsg,
       _a2 struct FileRequester *req)
    {
       if (imsg->Class==IDCMP_REFRESHWINDOW)
          DoMethod(req->fr_UserData,MUIM_Application_CheckRefresh);
    }


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

some movies doesn't end the way we want all the time


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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