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:
Attaching menu to a top-level form
Shortcut Menu Class
CreateMenu
..msdn    Add comment     W32 Constants      Translate this page
The CreateMenu function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions.
Code examples:
Attaching menu to a top-level form
Shortcut Menu Class
Declaration:
HMENU CreateMenu(VOID);
FoxPro declaration:
DECLARE INTEGER CreateMenu IN user32
Parameters:
This function has no parameters.
Return value:
If the function succeeds, the return value is a handle to the newly created menu. If the function fails, the return value is NULL.
My comment:
Call the DestroyMenu function to free the resource.
Word Index links for the CreateMenu :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-09 11:56:08
Modified: 2001-12-09 11:58:16
Visited in last 7 days: 45
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)
13 sec.Function: 'GetTcp6Table'
28 sec.
Function group: 'Shell Lightweight Utility APIs -- misc. functions'
42 sec.Function: 'NetMessageNameEnum'
59 sec.Function: 'LockWorkStation'
1.2 min.Function: 'SetConsoleTextAttribute'
1.42 min.Function: 'DeleteDC'
1.65 min.Function: 'IpRenewAddress'
1.85 min.Function: 'StrFormatByteSize'
2.13 min.Function: 'WSAStartup'
2.38 min.Function: 'GlobalMemoryStatus'
Google
Advertise here!