On Thu, 15 Jun 2006, Mathias PARNAUDEAU wrote:
> Le 15/06/2006, Ilkka Lehtoranta a écrit:
>
> > On Thu, 15 Jun 2006, Christian Rosentreter wrote:
>
> >> Hello Mathias,
>
> Hi !
>
> >> 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.
>
> Sorry, Ilkka, but I am using MUI_AslRequest and it doesn't work properly. I
> have ASLFR_Window and ASLFR_PrivateIDCMP set and that does nothing more. I
> have the same ugly things when I more an open requester in APDF, Scout (via
> the Print button), SimpleMail, ...
Hmmm! It works for me (tm). When I press Print button in Scout and
requester is opened Scout window is refreshed still. I'm using MUI4 from
27.11.2005 but I'm pretty sure it worked always...
MUI spawns separate thread where ASL requester is done.
For this reason IDCMP quirks probably dont work, either.
Ilkka
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/