LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to perform thiswindow.minimize?

Hi experts:

How do you minimize (or resize, move, etc.) a vi window from its own G
program? I'd like to open a new window and minimize the current window when
a user press a button on the current window, for example.

The uicontrol.llb only offers examples to minimize other windows, not the
(self, me, this) window. They use a vi refnum for windows. If I could only
obtain that refnum for the current window, this problem could be solved.

Thanks in advance,

Jiwu Rao/ raojw@alcor.concordia.ca
0 Kudos
Message 1 of 2
(2,339 Views)
"Jiwu Rao (Alcor)" wrote:

> Hi experts:
>
> How do you minimize (or resize, move, etc.) a vi window from its own G
> program? I'd like to open a new window and minimize the current window when
> a user press a button on the current window, for example.
>
> The uicontrol.llb only offers examples to minimize other windows, not the
> (self, me, this) window. They use a vi refnum for windows. If I could only
> obtain that refnum for the current window, this problem could be solved.
>
> Thanks in advance,
>
> Jiwu Rao/ raojw@alcor.concordia.ca

You can obtain a refnum of the VI in the same manner you would for any other VI

Call the window to open , get a refnum of the calling VI and then minimize it.
You can also obtain the refnum on THIS vi and use it, I dont kn
ow if there
are any problems with this as I have never tried but I know what you want
can be done.
Kevin Kent
0 Kudos
Message 2 of 2
(2,339 Views)