Porting Unix to NT problem 1 - Widget_Base YSIZE [message #16459] |
Mon, 26 July 1999 00:00 |
suarezm
Messages: 3 Registered: July 1999
|
Junior Member |
|
|
Hi there, I'm having two problems in particular porting some widget code from
Unix to NT. This message pertains to a sizing problem
I have a compound widget for tracking position in a georeferenced image.
Position can be tracked by Lat/Lon, projection coordinates and/or line/sample.
At the top of my widget I have 3 checkboxes for selecting which position
fields I want to view. I resize my widgets and place the field boxes based on
which boxes are checked. For calculating the YSIZE of the top level base, I
sum up the YSIZES of the selected fields and the YSIZE of the row of check
boxes. This all works beautifully under unix. However, under NT, while the
position boxes all get mapped/unmapped and placed properly, the top level base
does not get resized properly. It is as though YSIZE is including the space
taken up by the window title bar as though it were SCR_YSIZE. Is this a known
cross-platform quirk? Do I just have to deal with it by adding some padding
when I run on NT or is there a more appropriate way?
Thanks in advance,
-Manuel J. Suarez
ps-I'm using IDL 5.2 on NT and both 5.0 and 5.2 worked properly in Unix.
|
|
|