Share via


ButtonView_t::PaintGroupBox

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method paints a group box.

Syntax

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

Header buttonview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later