CommandBands_Create (Windows CE 5.0)

Send Feedback

This function instantiates a new command bands control.

HWND CommandBands_Create(HINSTANCE hinst,HWNDhwndParent,UINT wID,DWORDdwStyles,HIMAGELISThiml );

Parameters

  • hinst
    Handle to the application instance in which to create the command bands control.
  • hwndParent
    Handle to the parent window for the command bands control.
  • wID
    Identifier of the command bands control. This is used in any rebar notifications that are sent to the parent window.
  • dwStyles
    Specifies the style of the command bands tool being created. This parameter can be any combination of the styles listed in Window and Message Box Styles and Control Styles.
  • himl
    Handle to the image list that contains the images to draw in each band of the control. Set this parameter to NULL if no images are to be drawn.

Return Values

The window handle to the command bands control indicates success. NULL indicates failure.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib.

See Also

Control Styles | Window and Message Box Styles

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.