wxListCtrl and calculating column sizes

Łukasz Michalski l.michalski w ant.gliwice.pl
Czw, 12 Maj 2005, 08:58:08 CEST


On Thursday 12 May 2005 08:54, Łukasz Michalski wrote:
> Hi,
>
> I need to assign column in wxListCtrl sizes after control is resized by
> sizers.
>
> Now I have to call Layout() manually and then resize columns manually after
> Layout() is called.
>
> I tried to do it on EVT_SIZE handler by catching first event, resizing
> columns and then disconnectiong from EVT_SIZE events. This works under
> wxGTK2, but under wxMSW I get random number of wxSizeEvent before control
> is finally resized.
>
> Is there any way to know when sizers stops working and control has its
> final dimensions?
>
> Thanks,
> Łukasz

Grrrrr, nie ta lista :-)
Sorry ;-)

pzdr,
Łukasz




Więcej informacji o liście dyskusyjnej pld-users-pl