Hi,

what method is suggested to force a complete refresh of a custom class from 
within that class?
I want MUI to send a MADF_DRAWOBJECT message with RPTAG_DrawBounds set to the
full dimensions of my class.

I figured out that the trick with MUIM_Group_InitChange/ExitChange works but I 
wonder if there's
a nicer way because I'm not so sure if Init/ExitChange still works correctly 
with MUI4.

If I'd know the RPTAG_DrawBounds of my custom class, I could use MADF_DRAWUPDATE
to do the refresh of course. If MUI sends a MADF_DRAWOBJECT and wants my class 
to
completely redraw itself, does RPTAG_DrawBounds then equal to

rect.MinX = _mleft(obj)
rect.MinY = _mtop(obj)
rect.MaxX = _mright(obj)
rect.MaxY = _mbottom(obj) ??

If that would be the case, I could drop the MUIM_Group_InitChange/ExitChange 
stuff
and simply use MADF_DRAWUPDATE. 

By the way, my custom class is in a scroll group.

Any ideas?

Greets,

Andreas
--
"Remember: It's nice to be important but it's more important to be nice!"




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/
 

Reply via email to