Using Win32 functions in Visual FoxPro Image Gallery
Clipboard
..msdn
AddClipboardFormatListener
ChangeClipboardChain
CloseClipboard
CountClipboardFormats
EmptyClipboard
EnumClipboardFormats
GetClipboardData
GetClipboardFormatName
GetClipboardOwner
GetClipboardSequenceNumber
GetClipboardViewer
GetOpenClipboardWindow
GetPriorityClipboardFormat
GetUpdatedClipboardFormats
IsClipboardFormatAvailable
OpenClipboard
RegisterClipboardFormat
RemoveClipboardFormatListener
SetClipboardData
SetClipboardViewer
Code examples:
Monitoring clipboard content changes (VFP9)
AddClipboardFormatListener
..msdn    Add comment     W32 Constants      Translate this page
Places the given window in the system-maintained clipboard format listener list.
Code examples:
Monitoring clipboard content changes (VFP9)
Declaration:
BOOL WINAPI AddClipboardFormatListener(
  _In_  HWND hwnd
);
FoxPro declaration:
DECLARE INTEGER AddClipboardFormatListener IN user32;
    INTEGER hWindow
Parameters:
hwnd [in]
Type: HWND
A handle to the window to be placed in the clipboard format listener list.
Return value:
Returns TRUE if successful, FALSE otherwise. Call GetLastError for additional details.
Usage:
nResult = AddClipboardFormatListener(m.hWindow)
My comment:
When a window has been added to the clipboard format listener list, it is posted a WM_CLIPBOARDUPDATE (0x031D) message whenever the contents of the clipboard have changed.

See also: RemoveClipboardFormatListener, ChangeClipboardChain, SetClipboardViewer
Word Index links for the AddClipboardFormatListener :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2015-01-27 10:04:18
Modified: 2015-01-27 10:33:10
Visited in last 7 days: 88
User Contributed Notes:
There are no notes on this subject.


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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.147.40.153)
3 sec.Function: 'CeRapiInvoke'
7 sec.Function: 'SetLayeredWindowAttributes'
12 sec.Function: 'SQLDisconnect'
16 sec.Function: 'ImageList_Destroy'
20 sec.Function: 'SQLGetInstalledDrivers'
24 sec.Function: 'HeapLock'
27 sec.Function: 'SHFileOperation'
32 sec.Function: 'NetGroupEnum'
37 sec.Function: 'CeGetSpecialFolderPath'
41 sec.Function: 'TextOut'
Google
Advertise here!