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, ...
So, I tested the way described by Christian and it doesn't work better ... I
can't understand what happens here !!! :-(
--
Mathias PARNAUDEAU
------------------------ 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/