DIALOG ENABLE statement

Purpose

Enable a dialog so that it can receive messages when the user interacts with it via the mouse or keyboard.

Syntax

DIALOG ENABLE hDlg

Remarks

hDlg refers to the dialog you want to enable. An enabled dialog will receive messages when it is clicked with the mouse or selected with the keyboard. Enabling a dialog has no effect if the dialog is already enabled.

If the dialog has a Callback Function, a %WM_ENABLE message is sent to the Callback Function before DIALOG ENABLE finishes.

See also

Dynamic Dialog Tools, DIALOG DISABLE, DIALOG SHOW MODAL, DIALOG SHOW MODELESS, DIALOG SHOW STATE