Lines Matching defs:hwnd
38 HWND hwnd;
147 if (OpenClipboard (pCtx->hwnd))
198 pCtx->hwndNextInChain = SetClipboardViewer (pCtx->hwnd);
204 ChangeClipboardChain (pCtx->hwnd, pCtx->hwndNextInChain);
212 VOID CALLBACK CBChainPingProc(HWND hwnd, UINT uMsg, ULONG_PTR dwData, LRESULT lResult)
214 (void) hwnd;
221 static LRESULT CALLBACK vboxClipboardWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
260 if (GetClipboardOwner () != hwnd)
417 if (OpenClipboard (hwnd))
440 if (OpenClipboard (hwnd))
485 rc = DefWindowProc (hwnd, msg, wParam, lParam);
528 pCtx->hwnd = CreateWindowEx (WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT | WS_EX_TOPMOST,
533 if (pCtx->hwnd == NULL)
540 SetWindowPos(pCtx->hwnd, HWND_TOPMOST, -200, -200, 0, 0,
544 pCtx->timerRefresh = SetTimer(pCtx->hwnd, 0, 10 * 1000, NULL);
555 if (pCtx->hwnd)
559 KillTimer(pCtx->hwnd, 0);
561 DestroyWindow (pCtx->hwnd);
562 pCtx->hwnd = NULL;
601 if (g_ctx.hwnd)
603 PostMessage (g_ctx.hwnd, WM_CLOSE, 0, 0);
654 PostMessage (pClient->pCtx->hwnd, WM_USER, 0, u32Formats);
666 if (OpenClipboard (pClient->pCtx->hwnd))