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:
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.
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: 2005-05-31 19:20:56
Visited in last 7 days: 17
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 (184.73.7.143)
2.02 hrs.Example: 'GDI+: Creating thumbnails to preview images in a directory'
 Function: 'GdipRotateMatrix'
2.58 hrs.
 Example: 'Creating an Open dialog box to specify the drive, directory, and name of a file to open (Shell32 version)'
3.82 hrs.Function: 'GetLongPathName'
Function group: 'File Management'
 Gallery
Page 17
4.37 hrs.Example: 'How to find when the application started'
 Function: 'ExtractAssociatedIcon'
 Example: 'How to print a bitmap file'
9.47 hrs.Example: 'Testing MS Internet Explorer version installed'
Google
Advertise here!