Share via


CreateTree method

Creates the control.

 

Syntax

HRESULT retVal = object.CreateTree(hwndParent, dwStyles, phwnd);

Parameters

  • hwndParent [in]
    Type: HWND

  • dwStyles [in]
    Type: DWORD

  • phwnd [out]
    Type: HWND

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.