<<

Contents

Search

>>

 

ENABLE_WINDOW

 

 

Instruction

 

 

Syntax:

ENABLE_WINDOW(<Handle>,<Yes-No>)

 

<Handle>

= <NUM-EXPRESSION>

<Yes-No>

= <NUM-EXPRESSION>

 

 

Meaning:

Enables or disables a window.

 

If <Yes-No> = 0, the window <Window Depth> is disabled, otherwise enabled.

 

<Handle> specifies the window to which ENABLE_WINDOW refers. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window.

 

If <Handle> contains a window depth and the window has split windows only the split window with the original mask of the window / mainwindow is disabled / enabled.

 

Disabled windows can not be edited, activated or closed.

 

Parameter:

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Yes-No

0: disable window, otherwise: enable window

 

Sample:

/* Disable window in window depth 3

ENABLE_WINDOW(3,0)

 

See also:

IS_WINDOW_ENABLED

WINDOW

SET_FOCUS