Share via


ButtonView_t::InitDC (Windows Embedded CE 6.0)

1/6/2010

This method sets up a device context for drawing a button.

Syntax

static HBRUSH InitDC(
  HWND hwnd,
  HDC hdc
);

Parameters

  • hwnd
    [in] Handle to a window.
  • hdc
    [in] Handle to the device context that you want to initialize.

Return Value

The return value is a handle to the control brush for the button.

Requirements

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

See Also

Reference

ButtonView_t