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:
How to disable the Windows Clipboard (VFP9)
SetClipboardViewer
..msdn    Add comment     W32 Constants      Translate this page
Adds the specified window to the chain of clipboard viewers.
Code examples:
How to disable the Windows Clipboard (VFP9)
Declaration:
HWND SetClipboardViewer(
    HWND hWndNewViewer
);
FoxPro declaration:
DECLARE INTEGER SetClipboardViewer IN user32;
    INTEGER hWndNewViewer
Parameters:
hWndNewViewer
[in] Handle to the window to be added to the clipboard chain.
Return value:
If the function succeeds, the return value identifies the next window in the clipboard viewer chain. If an error occurs or there are no other windows in the clipboard viewer chain, the return value is NULL.
My comment:
The windows that are part of the clipboard viewer chain, called clipboard viewer windows, must process the clipboard messages WM_CHANGECBCHAIN and WM_DRAWCLIPBOARD.

Each clipboard viewer window calls the SendMessage function to pass these messages to the next window in the clipboard viewer chain.

See also: ChangeClipboardChain, AddClipboardFormatListener, RemoveClipboardFormatListener
Word Index links for the SetClipboardViewer :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-05-31 19:18:28
Modified: 2015-01-27 10:34:40
Visited in last 7 days: 17
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
4 sec.Function: 'GdipCloneBitmapArea'
9 sec.Function: 'HeapFree'
13 sec.Function: 'ZeroMemory'
17 sec.Function: 'SHSimpleIDListFromPath'
22 sec.Function: 'GetPriorityClass'
26 sec.
Function group: 'DNS Functions'
30 sec.Function: 'SetWindowsHookEx'
35 sec.Function: 'JetEndSession'
40 sec.Function: 'WNetAddConnection'
44 sec.Function: 'HeapUnlock'
Google
Advertise here!