ButtonView_t::PaintGroupBox

This method paints a group box.

static void PaintGroupBox(
  HWND hwnd,
  HDC hdc,
  HBRUSH hbr,
  WORD alignment
);

Parameters

  • hwnd
    [in] Handle to a window.
  • hdc
    [in] Handle to a device context.
  • hbr
    [in] Handle to a brush.
  • alignment
    [in] WORD that specifies the alignment of the group box. The default implementation of ButtonView_t::PaintGroupBox ignores this value, but the OEM can use this value when implementing the method. The following table shows the possible values.
    Value Description
    BS_BOTTOM Bottom alignment
    BS_CENTER Center horizontal alignment
    BS_LEFT Left alignment
    BS_RIGHT Right alignment
    BS_TOP Top alignment
    BS_VCENTER Center vertical alignment

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Buttonview.hpp.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.