How to get actual widget size? [message #36675] |
Thu, 16 October 2003 12:36 |
dcw_yip
Messages: 22 Registered: October 2003
|
Junior Member |
|
|
Hi:
Say a user is resizing the base widget. They aren't really moving
it but they have the mouse button depressed. My code explicitly
changes the base widget size with widget_control. The widget obvious
can't change since it's being overrode by the window manager. The
problem is, when I do a widget_info call, the response I get is the
size that I tried to set it to instead of the actual size. For
example, the window is 300 pixels high. I try to change it to 600,
but it doesn't change because the user is holding down the mouse
button. When I query the size, IDL tells me it's 600 when in reality
it's 300. How can I get a widget's real size and not what IDL thinks
it is?
thanks,
David
|
|
|