Using Win32 functions in Visual FoxPro Image Gallery
Clipboard
..msdn
ChangeClipboardChain
CloseClipboard
CountClipboardFormats
EmptyClipboard
EnumClipboardFormats
GetClipboardData
GetClipboardFormatName
GetClipboardOwner
GetClipboardViewer
GetPriorityClipboardFormat
IsClipboardFormatAvailable
OpenClipboard
RegisterClipboardFormat
SetClipboardData
SetClipboardViewer
Code examples:
Bitmap Class for Visual FoxPro application
Converting Unicode data from the Clipboard to a character string using a given code page
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Enumerating data formats currently available on the clipboard
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
GDI+: Storing content of the Clipboard to a bitmap file
Getting a bit more than the _CLIPTEXT offers
How to copy the image of a form to the Clipboard using Bitmap API functions
Passing data records between VFP applications via the Clipboard
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Storing content of the Clipboard to a bitmap file
Testing Clipboard functions: emptying the clipboard
OpenClipboard
..msdn    Add comment     W32 Constants      Translate this page
The OpenClipboard function opens the clipboard for examination and prevents other applications from modifying the clipboard content
Code examples:
Getting a bit more than the _CLIPTEXT offers
Converting Unicode data from the Clipboard to a character string using a given code page
Storing content of the Clipboard to a bitmap file
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
GDI+: Storing content of the Clipboard to a bitmap file
Bitmap Class for Visual FoxPro application
How to copy the image of a form to the Clipboard using Bitmap API functions
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Passing data records between VFP applications via the Clipboard
Enumerating data formats currently available on the clipboard
Declaration:
 
BOOL OpenClipboard(
  HWND hWndNewOwner   // handle to window
);
 
FoxPro declaration:
 
DECLARE INTEGER OpenClipboard IN user32;
    INTEGER hwnd
 
Parameters:
hWndNewOwner
[in] Handle to the window to be associated with the open clipboard. If this parameter is NULL, the open clipboard is associated with the current task.
Return value:
If the function succeeds, the return value is TRUE
My comment:
An application should call the CloseClipboard function after every successful call to OpenClipboard.
Word Index links for the OpenClipboard :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2001-11-26 16:02:19
Visited in last 7 days: 59
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 (107.22.25.119)
58.82 min.Example: 'Retrieving file information for the VFP executable running'
1.51 hrs.Function: 'GetProfileString'
 Example: 'GDI+: sending image of FoxPro form to printer'
 Function: 'GetWindowTextLength'
2.63 hrs.Example: 'Placing a button on the VFP form as a new child window'
 Function: 'InitiateShutdown'
Function group: 'System Shutdown'
2.94 hrs.Example: 'Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file'
 Example: 'GDI+: printing vertical text on VFP reports via generated images (VFP8)'
4.73 hrs.Example: 'How to display a user-defined icon in the MessageBox dialog'
 Example: 'Displaying the color palette stored in an image file'
Google
Advertise here!