wxListCtrl and calculating column sizes

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


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




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