<<

Contents

Search

>>

 

SET_WINDOWSTYLE

 

 

Instruction

 

 

Syntax:

SET_WINDOWSTYLE(<Style>)

 

<Style> = <NUM-EXPRESSION>

 

Meaning:

Sets properties of the main window.

 

<Style>

Wirkung

1

The button for maximizing is enabled.

-1

The button for maximizing is disabled.

2

The button for minimizing is enabled.

-2

The button for minimizing is disabled.

3

The button for closing the window is enabled. This is equivalent to ENABLE TERMINATE.

-3

The button for closing the window is disabled. This is equivalent to DISABLE TERMINATE.

4

The size of the main window can be changed.

-4

The size of the main window can not be changed.

otherwise

No effect

 

Parameter:

Style

1, -1, 2, -2, 3, -3, 4 or –4

 

Sample:

SET_WINDOWSTYLE(-1)

 

See also:

#NOMAXIMIZEBOX

#NOMINIMIZEBOX

#NOTHICKFRAME

ENABLE / DISABLE TERMINATE