DIALOG DISABLE statement

Purpose

Disable a dialog so that it no longer receives any mouse or keyboard messages.

Syntax

DIALOG DISABLE hDlg

Remarks

hDlg refers to the dialog you want to disable. A disabled dialog will not receive any messages when it is clicked with the mouse or selected with the keyboard. Disabling a dialog that is already disabled has no effect.

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

See also

Dynamic Dialog Tools, DIALOG ENABLE, DIALOG HIDE, DIALOG NORMALIZE, DIALOG SHOW MODAL, DIALOG SHOW MODELESS, DIALOG SHOW STATE