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:
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Attaching menu to a top-level form
GetSystemMenu
..msdn    Add comment     W32 Constants      Translate this page
The GetSystemMenu function allows the application to access the window menu (also known as the system menu or the control menu) for copying and modifying.
Code examples:
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Attaching menu to a top-level form
Declaration:
HMENU GetSystemMenu(
  HWND hWnd,    // handle to window
  BOOL bRevert  // reset option
);
FoxPro declaration:
DECLARE INTEGER GetSystemMenu IN user32;
    INTEGER hWnd,;
    INTEGER bRevert
Parameters:
hWnd
[in] Handle to the window that will own a copy of the window menu.

bRevert
[in] Specifies the action to be taken. The FALSE means that GetSystemMenu returns a handle to the copy of the window menu currently in use.
Return value:
If the bRevert parameter is FALSE, the return value is a handle to a copy of the window menu. If the bRevert parameter is TRUE, the return value is NULL.
Word Index links for the GetSystemMenu :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-09 12:05:15
Modified: 2001-12-09 12:07:34
Visited in last 7 days: 21
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.166.232.243)
12 sec.Function: 'GdipSetClipRectI'
25 sec.Function: 'AVIStreamInfo'
38 sec.Function: 'AVIStreamLength'
52 sec.Function: 'EnumServicesStatus'
1.1 min.Function: 'ResetEvent'
1.3 min.Function: 'Shell_GetImageLists'
1.55 min.Function: 'DisconnectNamedPipe'
1.75 min.Function: 'UrlEscape'
1.93 min.Function: 'SQLDataSources'
2.15 min.Function: 'JetRollback'
Google
Advertise here!