LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to know when your app has been minimized or maximized

I have two applications that has a thread that continuously receives and sends data across a RS232 port. Is there any way to know when my app has been minimized or maximized so I can turn off and restart the comport, otherwise I have to completely close each app to run the other.
0 Kudos
Message 1 of 2
(2,835 Views)
You can use GetPanelAttribute with the Window Zoom attribute to find out if it's minimize, maximized or neither.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,835 Views)