Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
MSMQ: how to open a queue
Printing Image File, programmatically set print page orientation to landscape
Winsock: sending email messages (SMTP, port 25)
Custom GDI+ class
How to print FoxPro form
How to activate Windows Calculator
Custom HttpRequest class (WinHTTP)
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Custom FTP Class for Visual FoxPro application
Class for sound recording
Adding and deleting Scheduled Tasks using NetScheduleJob API functions
Creating the Open dialog box to specify the drive, directory, and name of a file to open
GDI+: reading and writing metadata in JPEG and TIFF files
Enumerating Processes -- WinNT
How to detect if additional monitor is connected and active
Storing screen shot of a form to bitmap file
WAV file player
Displaying icons in the system tray (VFP9)
Drawing Windows predefined bitmaps using the LoadBitmap functions
How to make a VFP form fading out when released (GDI+ version)
Using WM_COPYDATA for interprocess communication (VFP9)
Adding and deleting User Accounts
Placing an arbitrary rectangular area of main VFP window on the Clipboard

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
  Members area. Log in to view this example.
  User name:
  Forgot your password?
  Sign up for
the Membership

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
2317 bytes  
Created: 2001-07-31 12:00:00  
Modified: 2008-10-03 15:25:57  
Visits in 7 days: 8  
Listed functions:
Printer friendly API declarations
My comment:
Pass into this procedure four screen coordinates that are relative to the upper left corner of the main VFP window or its client area -- depending on HDC used.
Word Index links for this example:
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2015 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.5.43), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
1 day(s)Example: 'Opening access to the Microsoft Internet functions for the application'
 Function: 'FillRect'
 Function: 'CeRapiInit'
Function group: 'Remote Application Programming (RAPI)'
2 day(s)Example: 'Creating the Save dialog box to specify the drive, directory, and name of a file to save'
5 day(s)Function: 'GetForegroundWindow'
Function group: 'Window'
 Function: 'NetUserGetLocalGroups'
Function group: 'Network Management'
 Function: 'InternetGoOnline'
Function group: 'Internet Functions (WinInet)'
Function group: 'Filled Shape'
 Function: 'GetDiskFreeSpaceEx'
 Example: 'Placing a button on the VFP form as a new child window'
Advertise here!