Using Message Boxes
The message box is a Windows DLL that is used by all Windows programs to present simple pop-up messages and to ask simple pop-up questions. You may access this functionality at a variety of levels.
If you need to ask a standard "Yes/No" question, it is simplest to use the confirm function:
get confirm "Are you sure?" to RetVal
The use of the confirm function is documented in the Confirming Data Entry Operations topic.
Levels of Message Box Access
-
Standard Confirm Function
The simplest way to ask a question is through theconfirmfunction. -
Common Message-Box Functions
The next level consists of a number of messages that access the most-commonly needed message-box functions. -
Windows Level Access
A final level allows you to access the message box at the Windows level. This requires that you understand the Windows message-box DLL interface.
For more information, refer to the Dialog and Message Box Functions.