◄Function Group► ◄Overview► ◄Message Group► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINCLIPBOARD BOOL WinSetClipbrdOwner(hab, hwnd) HAB hab; /* handle of the anchor block */ HWND hwnd; /* handle of the clipboard owner */ The WinSetClipbrdOwner function sets the current clipboard owner window. The clipboard owner window receives the following clipboard-related messages at appropriate times: WM_RENDERFMT WM_DESTROYCLIPBOARD WM_SIZECLIPBOARD WM_VSCROLLCLIPBOARD WM_HSCROLLCLIPBOARD WM_PAINTCLIPBOARD Parameter Description ──────────────────────────────────────────────────────────────────────────── hab Identifies an anchor block. hwnd Identifies a new clipboard owner window. If this parameter is NULL, the clipboard owner is released and no new owner is established. Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. See Also WinQueryClipbrdOwner, WinSetClipbrdViewer ♦