comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Porting Unix to NT problem 1 - Widget_Base YSIZE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Porting Unix to NT problem 1 - Widget_Base YSIZE [message #16459] Mon, 26 July 1999 00:00
suarezm is currently offline  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.
[Message index]
 
Read Message
Previous Topic: Porting Unix to NT problem 2 - mapping buttons over draw space
Next Topic: Re: password-entry widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:12:29 PDT 2025

Total time taken to generate the page: 0.48344 seconds