SEC_TREECLASS::SubclassTreeCtrlId

BOOLSEC_TREECLASS::SubclassTreeCtrlId(UINTidc, CWnd*pWndDlg)

Create a SEC_TREECLASS on a dialog template.

Defined in: trcore.inl

Return Value

Nonzero if the call was successful.

Parameters

idc

The resource ID of the control.

pWndDlg

Pointer to the dialog box.

Comments

Call this function from OnInitDialog and pass the IDC of the tree control as specified in the dialog editor.