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: 29
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.233.11)
3 sec.Function: 'GdipGetFontCollectionFamilyCount'
6.72 min.Example: 'How to drag a Form not using its Titlebar or Caption'
6.77 min.Example: 'Disconnecting USB Mass Storage Device programmatically'
26.27 min.Example: 'Using named pipes for interprocess communication'
26.32 min.Function: 'GetCharABCWidths'
Function group: 'Font and Text'
49.55 min.Example: 'Basic Volume information'
49.62 min.Example: 'Retrieving list of available disk drives'
Language: 'WMI'
49.67 min.Example: 'Converting command-line string to a set of Unicode argument strings (WinNT only)'
1.66 hrs.Example: 'How to copy the image of a form to the Clipboard using Bitmap API functions'
 Example: 'Splash Screen for the VFP application'
Google
Advertise here!