 |
GetMenuItemID ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetMenuItemID function retrieves the menu item identifier of a menu item located at the specified position in a menu. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
UINT GetMenuItemID(
HMENU hMenu,
int nPos
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetMenuItemID IN user32;
INTEGER hMenu,;
INTEGER nPos
|
 |
 |
 |
| Parameters: |
 |
hMenu
[in] Handle to the menu that contains the item whose identifier is to be retrieved.
nPos
[in] Specifies the zero-based relative position of the menu item whose identifier is to be retrieved. |
 |
 |
| Return value: |
 |
| The return value is the identifier of the specified menu item. If the menu item identifier is NULL or if the specified item opens a submenu, the return value is -1. |
 |
 |
| Word Index links for the GetMenuItemID : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-10-31 11:40:53 | | Modified: | 2002-10-31 11:42:07 | Visited in last 7 days: 16 |