Share via


MenuView_t::SetupColors (Windows Embedded CE 6.0)

1/6/2010

This method sets the foreground and background colors of a menu item.

Syntax

static void SetupColors(
  HDC hdc,
  UINT menustate
);

Parameters

  • hdc
    [in] Handle to the device context for the menu.
  • menustate
    [in] Constants to designate the appearance of the menu item. For more information, see Menus Constants.

Requirements

Header menuview.hpp
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

MenuView_t