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:
Programmatically removing submenus from VFP main menu
DrawMenuBar
..msdn    Add comment     W32 Constants      Translate this page
Redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar.
Code examples:
Programmatically removing submenus from VFP main menu
Declaration:
BOOL WINAPI DrawMenuBar(
    __in  HWND hWnd
);
FoxPro declaration:
DECLARE INTEGER DrawMenuBar IN user32;
    INTEGER hWindow
Parameters:
hWnd [in]
HWND
A handle to the window whose menu bar is to be redrawn.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
DrawMenuBar( _vfp.hWnd )
My comment:
See also: DeleteMenu, RemoveMenu
Word Index links for the DrawMenuBar :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2011-02-26 14:57:00
Modified: 2011-02-26 14:58:43
Visited in last 7 days: 69
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.247.118)
2 day(s)Function: 'UrlMkSetSessionOption'
 Function: 'SHQueryRecycleBin'
 Function: 'FrameRgn'
 Function: 'DefWindowProc'
 Function: 'IsChild'
 Function: 'CryptGenRandom'
Function group: 'Cryptography Reference'
 Function: 'WSACleanup'
 Project
 
Function group: 'Windows Multimedia'
 Solutions
Google
Advertise here!