2.2.6.12.7 DynaControl::GetCollapsed

Description

Gets the collapsed state of the branches from top to bottom in the control

Syntax

int GetCollapsed( vector<byte> & vn, bool bOnlyTopLevelIsBranch = true, bool bIncludeChildren = false )

Parameters

vn
[output] contains 1(0) for each collapsed(expanded) branch
bOnlyTopLevelIsBranch
when true, states of only consecutive top level branches are returned,
otherwise states of all branches of all levels from top to bottom are returned.
bIncludeChildren
when true the vector will contain info about open close states of child dynacontrols

Return

returns the number of branches.

Examples

Remark

See Also

Header to Include

Control.h