Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1306
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 20
Color 1
COM 6
Common Dialog Box 12
Console 12
Coordinate Space and Transformation 9
Cryptography Reference 28
Cursor 5
Data Decompression Library 3
Debugging 2
Desktop Window Manager (DWM) 1
Device Context 13
Device Input and Output 1
Dialog Box 6
DNS Functions 1
Dynamic-Link Library 6
Error Handling 10
Event Logging 10
Extensible Storage Engine (ESE, Jet Blue) 23
File Management 49
File Mapping 4
File System 19
Filled Shape 2
Font and Text 13
GDI+ 6
GDI+ Bitmap 10
GDI+ Brush 4
GDI+ Font 9
GDI+ Graphics 28
GDI+ Image 20
GDI+ ImageAttributes 3
GDI+ Matrix 10
GDI+ PathGradient Brush 3
GDI+ Pen 2
GDI+ StringFormat 2
GDI+ Text 2
Handle and Object 4
Hook 2
HTTP Functions (WinHTTP) 12
Icon 7
Internet Functions (WinInet) 49
IP Helper 24
Kernel Transaction Manager 3
Keyboard Input 22
Mailslot 3
Memory Management 26
Menu 18
Message and Message Queue 12
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 8
MSHTML Reference 1
Multilingual User Interface 4
Multiple Display Monitors 2
National Language Support 20
Network Management 34
ODBC API 30
Painting and Drawing 17
Path 3
Performance Monitoring 12
Pipe 5
PnP Configuration Manager 6
Power Management 6
Printing and Print Spooler 35
Process and Thread 31
Raw Input 4
Region 7
Registry 21
Remote Access Service (RAS) 5
Remote Application Programming (RAPI) 49
Remote Procedure Call (RPC) 7
Resource 10
Security 22
Service 11
Setup API functions 7
Shell Functions 39
Shell Lightweight Utility APIs -- misc. functions 2
Shell Lightweight Utility APIs -- Path Functions 20
Shell Lightweight Utility APIs -- string functions 4
Simple MAPI 9
String 10
Synchronization 13
System Information 23
System Shutdown 5
Terminal Services 10
Time 16
Unicode and Character Set 2
URL Monikers 7
Version Information 2
Virtual Hard Disk (Win7) 4
Window 37
Window Class 8
Window Procedure 3
Window Property 3
Window Station and Desktop 7
Windows Controls 8
Windows Multimedia 76
Windows Networking 18
Windows Sockets 2 (Winsock) 38
Menu            ..msdn    Add comment
AppendMenu The AppendMenu function appends a new item to the end of the specified menu bar, drop-down menu, submenu, or shortcut menu.
CreateMenu 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.
CreatePopupMenu The CreatePopupMenu function creates a drop-down menu, submenu, or shortcut menu.

The menu is initially empty. You can insert or append menu items by using the InsertMenuItem function. You can also use the InsertMenu function to insert menu items and the AppendMenu function to append menu items.
DeleteMenu Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.
DestroyMenu The DestroyMenu function destroys the specified menu and frees any memory that the menu occupies.
DrawMenuBar 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.
GetMenu The GetMenu function retrieves a handle to the menu assigned to the specified window.
GetMenuBarInfo Retrieves information about the specified menu bar.
GetMenuItemCount The GetMenuItemCount function determines the number of items in the specified menu.
GetMenuItemID The GetMenuItemID function retrieves the menu item identifier of a menu item located at the specified position in a menu.
GetMenuItemInfo The GetMenuItemInfo function retrieves information about a menu item.
GetMenuString The GetMenuString function copies the text string of the specified menu item into the specified buffer.
GetSubMenu Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.
GetSystemMenu 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.
InsertMenuItem The InsertMenuItem function inserts a new menu item at the specified position in a menu.
IsMenu The IsMenu function determines whether a handle is a menu handle.
SetMenu The SetMenu function assigns a new menu to the specified window.
TrackPopupMenuEx The TrackPopupMenuEx function displays a shortcut menu at the specified location and tracks the selection of items on the shortcut menu. The shortcut menu can appear anywhere on the screen.
Code examples:
Reading the structure of VFP main menu
Attaching menu to a top-level form
Accessing Adobe Reader 7.0 main menu from VFP application
Shortcut Menu Class
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
How to control Adobe Reader 9.0 (SDI mode) from VFP application
Programmatically removing submenus from VFP main menu
Simple Window Viewer
Retrieving window and menu help context identifiers
User Contributed Notes:
alikolahdoozan | 2005-10-17 04:23:23
when you create menu in view you must tick on as-top-level form and in form you like menu on it is show window in as top level form
then in init of form

do menuname.mpr with this ,.t.
albertowalker@aldeapc.com | 2006-02-17 06:04:57
Hello,

I need to import about 1,000 Word documents into memo fields of a VFP table. This would be helpful to avoid coping and pasting one thousand times :)
Could somebody give me some help?

Many thanks,

Alberto


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.198.54.142)
12 sec.Banners
23 sec.Function: 'CeGetFileSize'
35 sec.Function: 'ReadDirectoryChangesW'
Function group: 'File Management'
47 sec.Function: 'CeRegOpenKeyEx'
Function group: 'Remote Application Programming (RAPI)'
57 sec.Function: 'GetWindowText'
Function group: 'Window'
1.13 min.Function: 'GdipScaleTextureTransform'
Function group: 'GDI+ Brush'
1.35 min.
Function group: 'File Management'
1.55 min.Function: 'CeRegDeleteValue'
Function group: 'Remote Application Programming (RAPI)'
1.95 min.Example: 'Using InternetSetFilePointer when resuming interrupted download from the Internet'
2.13 min.
Function group: 'GDI+ Brush'
Google
Advertise here!