Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Custom GDI+ class
Capturing keyboard activity of another application with the Raw Input API (VFP9)
How to print a bitmap file
How to display Windows On-Screen Keyboard
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
System Image List Viewer
Winsock: sending email messages (SMTP, port 25)
Creating the Save dialog box to specify the drive, directory, and name of a file to save
The window and its ancestors
Printing Image File, programmatically set print page orientation to landscape
Custom HttpRequest class (WinHTTP)
How to convert a bitmap file to monochrome format (1 bpp)
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Custom FTP Class for Visual FoxPro application
Mapping and disconnecting network drives
Using EnumPrinters function to enumerate locally installed printers
How to download a file from the FTP server using FtpGetFile
How to activate Windows Calculator
Displaying icons in the system tray (VFP9)
Drawing Windows predefined bitmaps using the LoadBitmap functions
Displaying the associated icons and descriptions for files and folders
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Sending email messages with Simple MAPI
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions

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 sample code shows how to copy the image of an active form to the Clipboard in CF_ENHMETAFILE format.

There is a similar example using Bitmap API functions copying data in CF_BITMAP format:
Copying picture of the active form to the Clipboard using Bitmap API functions
 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
  Buy this example for $10.00
Instant email delivery.

Read more...
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
3154 bytes  
Created: 2003-05-23 09:11:59  
Modified: 2012-03-25 19:16:16  
Visits in 7 days: 114  
Listed functions:
BitBlt
CloseClipboard
CloseEnhMetaFile
CreateEnhMetaFile
DeleteEnhMetaFile
GetDeviceCaps
GetFocus
GetWindowDC
GetWindowRect
OpenClipboard
ReleaseDC
SetClipboardData
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.16.166.175)
4 sec.Example: 'Displaying animated images on FoxPro form with BitBlt and StretchBlt functions'
52.72 min.Function: 'CeSetFilePointer'
Function group: 'Remote Application Programming (RAPI)'
52.78 min.Function: 'GdipDeletePen'
Function group: 'GDI+ Pen'
1.09 hrs.Function: 'GetFileVersionInfoSize'
Function group: 'Version Information'
 Function: 'DeleteObject'
1.54 hrs.Function: 'TaskDialog'
3.67 hrs.Function: 'UpdateResource'
 Example: 'Drawing a window caption using the DrawCaption routine'
3.9 hrs.Example: 'Starting a dialog box for connecting to network resources (mapping network drive)'
 Example: 'How to suspend or hibernate your system'
Google
Advertise here!