MenuView_t::NotPopupStringItemComputeSize
This method calculates the size of a non popup menu string item.
static void NotPopupStringItemComputeSize(
HDC hdc,
WCHAR* pszItemString,
int cchItemString,
long cxMenu,
long cyMenu,
long* pcx,
long* pcy
);
Parameters
- hdc
[in] Handle to the device context for the menu. - pszItemString
[in] Pointer to a buffer containing the string of the menu item. - cchItemString
[in] Number of characters in the pszItemString buffer. - cxMenu
[in] The width of the menu control. The default implementation of MenuView_t::NotPopupStringItemComputeSize does not use this value. - 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
OS Versions: Windows CE 5.01 and later.
Header: Menuview.hpp.