2.2.6.12.27 DynaControl::SetTree

Description

Associates a TreeNode with the control, which is then used to generate the child controls and instatiate event handlers

Syntax

BOOL SetTree( TreeNode & node, DWORD dwOptions = 0, int nDisplaySubNode = -1 )

Parameters

node
TreeNode object that is used to generate the child controls and instatiate event handlers
dwOptions
Options to indicate layout preferences like DYNALAYOUT_BACKGROUND_GRAY etc. defined in OC_Const.h
nDisplaySubNode
Internal use for DynaControl tabs style display.

Return

returns true if successful else false

Examples

Remark

See Also

Header to Include

Control.h