LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to move (on the right down corner) a minimized child windows when you resize the parent windows ?

Hi,
 
I'm looking for a way to adapt the postion of a child panel when it is minimized and you resize the parent panel. The minimized child panel stay at the position refer to the size area before the resizing.
 
I'm trying to hide the panel and active and minimize again the child panel, but when I active a hidden panel, it becomes visible !!!
 
Thank you for your answer.
 
Jean-Noel
0 Kudos
Message 1 of 2
(2,638 Views)

I have never tried this, but I'd take a look at EVENT_PANEL_SIZE event in parent panel callback: when the panel is resized, you move child panel accordingly.

I don't know how often is the event fired: you may need to discard part of the events and process only some of them to avoid a significant overhead to the system.

 

It has now come to my mind that it's not possible to minimize a child panel, but anyway I modified the standard "panels" example so that one of the child panels moves according to parent panel resizing. The example is attached.

Hope this helps

Roberto

Message Edited by Roberto Bozzolo on 10-26-2005 05:58 PM



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(2,622 Views)