<<

Contents

Search

>>

 

SET_SPLIT_WINDOW_DIVIDER_ENABLED

 

 

Function

 

 

Syntax:

SET_SPLIT_WINDOW_DIVIDER_ENABLED(<Split Handle>,<Enabled>)

 

<Split Handle>

= <NUM-EXPRESSION>

<Enabled>

= <NUM-EXPRESSION>

 

 

Meaning:

Specifies whether the split window divider can be moved.

 

SET_SPLIT_WINDOW_DIVIDER_ENABLED returns –1 if <Split Handle> is invalid, otherwise 0.

 

Parameter:

Split Handle

Handle of split window

Enabled

= 0: The split window divider cannot be moved.

<> 0: The split window divider can be moved.

 

Sample:

HANDLE% = SPLIT_WINDOW(0,1,75)

...

/* fix the divider

H% = SET_SPLIT_WINDOW_DIVIDER_ENABLED(HANDLE%,0)

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

SPLIT_WINDOW

SET_SPLIT_WINDOW_DIVIDER

SET_SPLIT_WINDOW_DIVIDERSIZE