Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > BuiltIn Constants >

MsgBox equates

Previous pageReturn to chapter overviewNext page

 

MSGBOX dialog styles:

Symbol

Meaning

%MB_OK

The message box contains one push button: OK. This is the default.

%MB_OKCANCEL

The message box contains two push buttons: OK and Cancel.

%MB_YESNO

The message box contains two push buttons: Yes and No.

%MB_YESNOCANCEL

The message box contains three push buttons: Yes, No, and Cancel.

%MB_RETRYCANCEL

The message box contains two push buttons: Retry and Cancel.

%MB_ABORTRETRYIGNORE

The message box contains three push buttons: Abort, Retry, and Ignore.

%MB_CANCELTRYCONTINUE

The message box contains three push buttons: Cancel, Try Again, Continue.

%MB_DEFBUTTON1

The first button is the default button.

%MB_DEFBUTTON2

The second button is the default button.

%MB_DEFBUTTON3

The third button is the default button.

%MB_ICONEXCLAMATION

An exclamation-point icon appears in the message box.

%MB_ICONERROR

A stop-sign icon appears in the message box.

%MB_ICONINFORMATION

An icon consisting of a lowercase letter i in a circle appears in the message box.

%MB_ICONQUESTION

A question-mark icon appears in the message box.

%MB_ICONSTOP

A stop-sign icon appears in the message box.

%MB_ICONWARNING

An exclamation-point icon appears in the message box.

%MB_ICONASTERISK

An icon consisting of a lowercase letter i in a circle appears in the message box.

%MB_ICONHAND

A stop-sign icon appears in the message box.

%MB_APPLMODAL


%MB_SYSTEMMODAL


%MB_TOPMOST


%MB_HELP

Adds a Help button to the message box. When the user clicks the Help button or presses F1, the system sends a %WM_HELP message to the owner.

 

MSGBOX possible returning value:

Symbol

Meaning

%IDABORT


%IDCANCEL


%IDCONTINUE


%IDIGNORE


%IDNO


%IDOK


%IDRETRY


%IDTRYAGAIN


%IDYES


%IDTIMEOUT