Поделиться через


ButtonView_t::InitDC (Windows CE 5.0)

Send Feedback

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

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 Values

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

Requirements

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.