LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Exit Prompt Popup

Solved!
Go to solution

What values are returned, or how can I detect when a promptpopup is exited instead of entering information?

 

Thanks!

0 Kudos
Message 1 of 3
(2,890 Views)
Solution
Accepted by topic author TurboMetrologist

You receive the return value VAL_USER_CANCEL if the operation has been canceled, i.e. closed the popup with the red X instead of the OK button.

You can check the string length of the response buffer to see if the user did enter anything.

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

Thanks!

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