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

Home » Public Forums » archive » Resizing already realized widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Resizing already realized widgets [message #2352] Wed, 29 June 1994 13:08 Go to next message
msegur is currently offline  msegur
Messages: 2
Registered: June 1994
Junior Member
I want to force a widget which has already been realized to resize
itself automatically. How does one do this? At present I can't even seem to
force a change in size by using the ysize/xsize keywords, but I can't believe
that there isn't a way to do this...

--
Matt Segur | "Life is pain, Highness. Anyone who says
-----------------------------| differently is selling something."
msegur@colorado.edu |
| -- The Princess Bride
Re: Resizing already realized widgets [message #2445 is a reply to message #2352] Wed, 29 June 1994 23:05 Go to previous message
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
In article <2uskb8$euh@lace.Colorado.EDU> msegur@newton (The Ethereal Knight) writes:
> I want to force a widget which has already been realized to resize
> itself automatically. How does one do this? At present I can't even seem to
> force a change in size by using the ysize/xsize keywords, but I can't believe
> that there isn't a way to do this...
>
Morning,

Yup, this is not a simple little problem (in IDL). The only way I have
heard to do this is the following (and I don't like it much either)

-create your widget base with teh keyword: TLB_SIZE_EVENTS
-then in the event handler check for the widget_base_event, and when
found you must re-realize your widget with a new x/ysize
(if your x/ysize are being ignored now then you may have problems)

Sorry I cannot help more. It would be nice to see a widget_control
keyword called Resize.

-stephen
--
Stephen C Strebel / SKI TO DIE
strebel@sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Changing a structure
Next Topic: Re: HELP: Finding Array Element Positions

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

Current Time: Wed Oct 08 17:12:45 PDT 2025

Total time taken to generate the page: 0.00492 seconds