ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed popup windows?

Solved!
Go to solution

Anyone got a message box popup with countdown timer so if nobody seems to be watching, the program clears it out and resumes as normal?

0 Kudos
Message 1 of 3
(3,745 Views)
Solution
Accepted by topic author KevinMac

Hi,

 

It's a few lines of code only:

 

InstallPopup

start timer (set control enabled) with a timer callback

 

in the timer callback:

stop timer

RemovePopup

 

Message 2 of 3
(3,737 Views)

Hi, instead of RemovePopup , it is better call HidePanel.

Because RemovePopup remove most active Popup panel, and if there is more than one popup panel in application that can be active in the same time ... the problem appear 🙂

Message 3 of 3
(3,701 Views)