This function obtains any current clipboard viewer window.

#define INCL_WINCLIPBOARD /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HAB     hab;                /*  Anchor-block handle. */
HWND    hwndClipbrdViewer;  /*  Current clipboard viewer window handle. */

hwndClipbrdViewer = WinQueryClipbrdViewer(
                     hab);


[Back] [Next]