 |
SetClipboardViewer ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Adds the specified window to the chain of clipboard viewers. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-05-31 19:18:28 | | Modified: | 2005-05-31 19:20:56 | Visited in last 7 days: 17 |