次の方法で共有


ButtonView_t::PaintGroupBox (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

ButtonView_t