Hello,
 
I'm having a tough time resizing a control using the win32gui/win32con etc. extensions.
 
I can override the onsize method of a control by doing:
 
    self.HookMessage (self.OnSize, win32con.WM_SIZE)
 
Then on the OnSize I can get the size of the control using GetClientSize()
So far so good.
 
But how on eatrh can I set new widths and heights of a control? Do I have to re-create the control using CreateWindow? Isn't there another way?
 
Cheers,
Michael Vleugel
 
   
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to