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)
ChangeClipboardChain
..msdn    Add comment     W32 Constants      Translate this page
Removes a specified window from the chain of clipboard viewers.
Code examples:
How to disable the Windows Clipboard (VFP9)
Declaration:
BOOL ChangeClipboardChain(
    HWND hWndRemove,
    HWND hWndNewNext
);
FoxPro declaration:
DECLARE INTEGER ChangeClipboardChain IN user32;
    INTEGER hWndRemove,;
    INTEGER hWndNewNext

Parameters:
hWndRemove
[in] Handle to the window to be removed from the chain. The handle must have been passed to the SetClipboardViewer function.

hWndNewNext
[in] Handle to the window that follows the hWndRemove window in the clipboard viewer chain.
Return value:
... is indecisive.

It indicates the result of passing the WM_CHANGECBCHAIN message to the windows in the clipboard viewer chain. Because a window in the chain typically returns FALSE when it processes WM_CHANGECBCHAIN, the return value from ChangeClipboardChain is typically FALSE.
My comment:
The window identified by hWndNewNext replaces the hWndRemove window in the chain. The SetClipboardViewer function sends a WM_CHANGECBCHAIN message to the first window in the clipboard viewer chain.

See also: SetClipboardViewer, AddClipboardFormatListener, RemoveClipboardFormatListener
Word Index links for the ChangeClipboardChain :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-05-31 19:21:07
Modified: 2015-01-27 10:35:40
Visited in last 7 days: 33
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.145.16.43)
15 sec.Function: 'EnumDeviceDrivers'
31 sec.Function: 'GetDiskFreeSpaceEx'
47 sec.Function: 'FindNextPrinterChangeNotification'
1.02 min.Function: 'ChooseFont'
1.27 min.Function: 'DeleteMenu'
1.53 min.Function: 'CeFindNextDatabaseEx'
1.8 min.Function: 'gethostbyaddr'
2.08 min.Function: 'DeleteService'
2.33 min.Function: 'CommDlgExtendedError'
2.63 min.Function: 'DisconnectNamedPipe'
Google
Advertise here!