Share via


MenuView_t::SeparatorItemComputeSize (Windows Embedded CE 6.0)

1/6/2010

This method calculates the size of a menu separator item.

Syntax

static void SeparatorItemComputeSize(
  BOOL bPopup,
  long cxMenu,
  long cyMenu,
  long* pcx,
  long* pcy
);

Parameters

  • bPopup
    [in] Boolean that specifies whether the menu is a popup menu. TRUE indicates the menu is a popup. FALSE indicates the menu is not a popup.
  • cxMenu
    [in] The width of the menu control.
  • cyMenu
    [in] The height of the menu control.
  • pcx
    [out] Pointer to a long that receives the menu item width.
  • pcy
    [out] Pointer to a long that receives the menu item height.

Requirements

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

See Also

Reference

MenuView_t