|
|
|
Create |
Creates a tree control window and attaches it to the CSftTree or CSftTreeSplit object.
C++
BOOL CSftTree::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID); BOOL CSftTree::CreateEx( DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID); BOOL CSftTreeSplit::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID); BOOL CSftTreeSplit::CreateEx( DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
Parameters
dwExStyle
Specifies the extended window style of the tree control.
dwStyle
Specifies the window style of the tree control.
rect
Specifies the tree control size and position. Can be either a CRect object or a RECT structure.
pParentWnd
Specifies the tree control's parent window.
nID
Specifies the tree's control ID.
Returns
The return value is TRUE if the function was successful, otherwise FALSE is returned.
Comments
The Create and CreateEx functions define a tree control window and attach it to the CSftTree or CSftTreeSplit object.
See Also C/C++ API | Categories | Notifications