Using Win32 functions in Visual FoxPro Image Gallery
Menu
..msdn
AppendMenu
CreateMenu
CreatePopupMenu
DeleteMenu
DestroyMenu
DrawMenuBar
GetMenu
GetMenuBarInfo
GetMenuItemCount
GetMenuItemID
GetMenuItemInfo
GetMenuString
GetSubMenu
GetSystemMenu
InsertMenuItem
IsMenu
SetMenu
TrackPopupMenuEx
Code examples:
Reading the structure of VFP main menu
GetMenuItemInfo
..msdn    Add comment     W32 Constants      Translate this page
The GetMenuItemInfo function retrieves information about a menu item.
Code examples:
Reading the structure of VFP main menu
Declaration:
BOOL GetMenuItemInfo(
    HMENU hMenu,
    UINT uItem,
    BOOL fByPosition,
    LPMENUITEMINFO lpmii
);
FoxPro declaration:
DECLARE INTEGER GetMenuItemInfo IN user32;
    INTEGER   hMenu,;
    INTEGER   uItem,;
    INTEGER   fByPosition,;
    STRING  @ lpmii

Parameters:
hMenu
[in] Handle to the menu that contains the menu item.

uItem
[in] Identifier or position of the menu item to get information about. The meaning of this parameter depends on the value of fByPosition.

fByPosition
[in] Specifies the meaning of uItem. If this parameter is FALSE, uItem is a menu item identifier. Otherwise, it is a menu item position.

lpmii
[in, out] Pointer to a MENUITEMINFO structure that specifies the information to retrieve and receives information about the menu item.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetMenuItemInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-10-31 11:42:36
Modified: 2002-10-31 11:44:09
Visited in last 7 days: 27
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.225.20.73)
12 sec.Function: 'CharToOem'
31 sec.Function: 'CreateMenu'
44 sec.Function: 'GetTcp6Table'
59 sec.
Function group: 'Shell Lightweight Utility APIs -- misc. functions'
1.22 min.Function: 'NetMessageNameEnum'
1.5 min.Function: 'LockWorkStation'
1.72 min.Function: 'SetConsoleTextAttribute'
1.93 min.Function: 'DeleteDC'
2.17 min.Function: 'IpRenewAddress'
2.37 min.Function: 'StrFormatByteSize'
Google
Advertise here!