Group: Clipboard - Library: user32
How to disable the Windows Clipboard (VFP9)
BOOL ChangeClipboardChain(
HWND hWndRemove,
HWND hWndNewNext
); DECLARE INTEGER ChangeClipboardChain IN user32;
INTEGER hWndRemove,;
INTEGER hWndNewNext
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.
... 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.
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.
Home