Hello,
I have a question about the new MUIM_List_Display of MUI 4.
I want to replace the display hook MUIA_List_DisplayHook.
I have put in my Dispatcher :
case MUIM_List_Display : return DisplayAccount(cl, obj,
(APTR)msg);
and create the following function :
static ULONG DisplayAccount (struct IClass *cl, Object *obj, struct
MUIP_List_Display *msg)
and in the new function :
LV_compte = (APTR)ListObject,
MUIA_Frame, MUIV_Frame_InputList,
MUIA_List_Format, "BAR MIW=25 P=\33c,BAR MIW=25 P=\33c,P=\33c
MIW=50",
//MUIA_List_DisplayHook, &DisplayAccount_hook,
MUIA_List_Title, TRUE,
MUIA_HelpNode, "LV_compte",
End;
LV_compte = (APTR)ListviewObject,
MUIA_Listview_DoubleClick, TRUE,
MUIA_Listview_Input, TRUE,
MUIA_Listview_List, LV_compte,
End;
No compilation or link problem but my display function is not called.
Could it come from the construction of the list in the new function as have
read that there a important change in MUI 4 ?
Do i have forget something in the new or in the dispatcher ?
Thanks for your help.
Kind regards
Vincent.
--
Vincent MORENAS
Amiga and MorphOS user
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/MUI/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/