Amiga-C (213/223)

From:Ilkka Lehtoranta
Date:30 Aug 2001 at 13:06:36
Subject:Re: [amiga-c] MUI Listviews

On 29 Aug 2001, Donald W Millican wrote:

> The new list appears in the gadget but the gadget does not adapt to
> the new dimensions of the list and as the new list is wider than the
> old one some of the text on the right hand side is not seen. One
> rather drastic way to solve the problem is to close then re-open the
> window forcing all the gadgets to adjust to the size of their contents
>
> set(window,MUIA_Window_Open,FALSE);
> set(window,MUIA_Window_Open,TRUE);
>
> but doing this causes an annoying blink on the screen.
>
> Is there any way of getting the Listview gadget to resize itself when
> its contents are changed without an annoying blink?

Try this:

DoMethod(parentgroup,MUIM_InitChange)
DoMethod(Parentgroup,MUIM_ExitChange)

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/