Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
Encapsulating access to the Windows Services in a class
Extended MessageBox Class
Using the DrawText function
How to detect if additional monitor is connected and active
Setting the mouse capture to the specified window
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Displaying icons in the system tray (VFP9)
Enumerating ports that are available for printing on a specified server
Creating a mailslot
Reading the state of mouse buttons within DO WHILE loop
Displaying the associated icons and descriptions for files and folders
Displaying the main Dial-Up Networking dialog box
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Converting image file to .ICO file
Printing text on the main VFP window
How to ping a remote site using IP Helper API calls
Start an executable from VFP application by using the CreateProcess
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
GDI+: Scrolling through large image using the mouse
How to enable the SE_SHUTDOWN_NAME privilege for the application
How to suspend or hibernate your system
Obtaining names of local and global groups for current user (WinNT/XP/2K)
Printing text with the Escape function
Shortcut Menu Class

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:
This class creates shortcut popup menu object, which is easier to operate comparing to standard DEFINE POPUP SHORTCUT command.



 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
6289 bytes  
Created: 2003-08-25 13:43:36  
Modified: 2011-03-07 08:05:55  
Visits in 7 days: 149  
Listed functions:
CreateMenu
CreatePopupMenu
DestroyMenu
GetCursorPos
GetFocus
GlobalAlloc
GlobalFree
GlobalSize
InsertMenuItem
TrackPopupMenuEx
Printer friendly API declarations
Word Index links for this example:
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
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 (50.17.109.248)
58.17 min.
Function group: 'Monitor Configuration (Vista)'
1.44 hrs.Example: 'Current System information'
 Function: 'GetDiskFreeSpaceEx'
4.75 hrs.Function: 'DrawIcon'
 Function: 'FlushFileBuffers'
5.61 hrs.Example: 'Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)'
 Example: 'Obtaining physical parameters for a drive: sectors, clusters, cylinders...'
5.97 hrs.
Function group: 'Data Decompression Library'
 Example: 'Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)'
7.23 hrs.Example: 'How to find when the application started'
Google
Advertise here!