SetSplitterExAttribute

www.progui.co.uk  Top  Previous  Next

SetSplitterExAttribute()

Syntax

Success = SetSplitterExAttribute(ID.i, Attribute.i, Value.i)

Description

Sets a SplitterEx's attribute.

ID.i specifies the handle/ID of the splitter you want to set the attribute for.

Please see the following table for descriptions of the available attributes and values:

Constant

Description

Value

#SPLITTEREX_FIRST

Sets the first control of the SplitterEx.

WindowsID (HWND) of the new control.

#SPLITTEREX_SECOND

Sets the second control of the SplitterEx.

WindowsID (HWND) of the new control.

#SPLITTEREX_FIRSTMINIMUMSIZE

Sets the minimum size that the first control of the SplitterEx is allowed to be resized to.

Value in pixels.

#SPLITTEREX_FIRSTMAXIMUMSIZE

Sets the maximum size that the first control of the SplitterEx is allowed to be resized to.

Value in pixels.

#SPLITTEREX_SECONDMINIMUMSIZE

Sets the minimum size that the second control of the SplitterEx is allowed to be resized to.

value in pixels.

#SPLITTEREX_SECONDMAXIMUMSIZE

Sets the maximum size that the second control of the SplitterEx is allowed to be resized to.

Value in pixels.

#SPLITTEREX_HIDEFIRST

Hides or shows the first control in the SplitterEx.

True / False.

#SPLITTEREX_HIDESECOND

Hides or shows the second control in the SplitterEx.

True / False.

#SPLITTEREX_POSITION

Sets the position of the SplitterEx splitter bar.

Value in pixels.

#SPLITTEREX_VERTICAL

Sets whether the SplitterEx is vertical or horizontal.

True / False.

#SPLITTEREX_ANCHORPOSITION

Sets at what side the splitter bar is anchored or if disabled.

#SPLITTEREX_ANCHOREDTOP

#SPLITTEREX_ANCHOREDLEFT

#SPLITTEREX_ANCHOREDBOTTOM

#SPLITTEREX_ANCHOREDRIGHT

 

zero disables the "anchoring" feature.

#SPLITTEREX_ANCHORSIZETO

Sets the position in pixels of where the splitter bar will be expanded to from the "anchored" state.

Value in pixels.

Returns true if successful, zero for failure.

 

 

SplitterEx Index