GetSplitterExAttribute

www.progui.co.uk  Top  Previous  Next

GetSplitterExAttribute()

Syntax

Value.i = GetSplitterExAttribute(ID.i, Attribute.i)

Description

Returns a SplitterEx's attribute value or -1 for failure.

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

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

Constant

Description

Return Value

#SPLITTEREX_FIRST

Gets the first control of the SplitterEx.

WindowsID (HWND) of the control.

#SPLITTEREX_SECOND

Gets the second control of the SplitterEx.

WindowsID (HWND) of the control.

#SPLITTEREX_FIRSTMINIMUMSIZE

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

Value in pixels.

#SPLITTEREX_FIRSTMAXIMUMSIZE

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

Value in pixels.

#SPLITTEREX_SECONDMINIMUMSIZE

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

value in pixels.

#SPLITTEREX_SECONDMAXIMUMSIZE

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

Value in pixels.

#SPLITTEREX_HIDEFIRST

Returns whether the first control in the SplitterEx is hidden or not.

True / False.

#SPLITTEREX_HIDESECOND

Returns whether the second control in the SplitterEx is hidden or not.

True / False.

#SPLITTEREX_POSITION

Gets the position of the SplitterEx splitter bar.

Value in pixels.

#SPLITTEREX_VERTICAL

Returns whether the SplitterEx is vertical or horizontal.

True / False.

#SPLITTEREX_ANCHORPOSITION

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

#SPLITTEREX_ANCHOREDTOP

#SPLITTEREX_ANCHOREDLEFT

#SPLITTEREX_ANCHOREDBOTTOM

#SPLITTEREX_ANCHOREDRIGHT

 

zero, the "anchoring" feature is disabled.

#SPLITTEREX_ANCHORSIZETO

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

Value in pixels.

 

SplitterEx Index