MenuView_t::NotPopupStringItemComputeSize (Windows Embedded CE 6.0)
1/6/2010
This method calculates the size of a non popup menu string item.
Syntax
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
Header | menuview.hpp |
Windows Embedded CE | Windows Embedded CE 6.0 and later |