On Thu, 15 Jun 2006, Christian Rosentreter wrote:

> 
> 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);
>     }

No no no no no...

Just use MUI_AslRequest() functions and MUI takes care of window refresh for 
you.


  Ilkka



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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