LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to close a child panel by way of close button on panel title bar

Hello All,

when I use a child panel, I have never been able to get the Close/Minimize/Maximize buttons on its title bar.
So, to close the panel, I have to put an explicit Close button inside it.

By the way, I already gave a look to Azucena's solution, it works but I wouldn't like to use Windows SDK functions!

Is there any way to enable title bar buttons on child panels, without using SDK?


Thank you
Sergio

0 Kudos
Message 1 of 2
(3,437 Views)
> when I use a child panel, I have never been able to get the
> Close/Minimize/Maximize
> buttons on its title bar.
> So, to close the panel, I have to put an explicit Close button inside
> it.By the way, I
> already gave a look to Azucena's solution, it works but I wouldn't like to
> use
> Windows SDK functions! Is there any way to enable title bar buttons on
> child panels,
> without using SDK?

I had that problem long ago and used an inner button too. Ugly but the
reason is that child panels don't have the same 'Windows level'
functionalities than main panels.
It sucks.
--
Guillaume Dargaud
http://www.gdargaud.net/


0 Kudos
Message 2 of 2
(3,421 Views)