Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 992 Bytes

File metadata and controls

40 lines (25 loc) · 992 Bytes

Home

Function name : GetOpenClipboardWindow

Group: Clipboard - Library: user32


Retrieves the handle to the window that currently has the clipboard open.


Declaration:

HWND WINAPI GetOpenClipboardWindow(void);  

FoxPro declaration:

DECLARE INTEGER GetOpenClipboardWindow IN user32  

Parameters:

This function has no parameters.


Return value:

If the function succeeds, the return value is the handle to the window that has the clipboard open. If no window has the clipboard open, the return value is NULL.


Comments:

If an application or DLL specifies a NULL window handle when calling the OpenClipboard function, the clipboard is opened but is not associated with a window. In such a case, GetOpenClipboardWindow returns NULL.