Home | History | Annotate | Download | only in win

Lines Matching refs:hwnd

63 SOFT_LINK(IMM32, ImmGetContext, HIMC, WINAPI, (HWND hwnd), (hwnd))
64 SOFT_LINK(IMM32, ImmReleaseContext, BOOL, WINAPI, (HWND hWnd, HIMC hIMC), (hWnd, hIMC))
69 SOFT_LINK(IMM32, ImmAssociateContextEx, BOOL, WINAPI, (HWND hWnd, HIMC hIMC, DWORD dwFlags), (hWnd, hIMC, dwFlags))
75 SOFT_LINK_OPTIONAL(USER32, SetGestureConfig, BOOL, WINAPI, (HWND, DWORD, UINT, PGESTURECONFIG, UINT));
79 SOFT_LINK_OPTIONAL(Uxtheme, BeginPanningFeedback, BOOL, WINAPI, (HWND));
80 SOFT_LINK_OPTIONAL(Uxtheme, EndPanningFeedback, BOOL, WINAPI, (HWND, BOOL));
81 SOFT_LINK_OPTIONAL(Uxtheme, UpdatePanningFeedback, BOOL, WINAPI, (HWND, LONG, LONG, BOOL));
106 LRESULT CALLBACK WebView::WebViewWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
108 LONG_PTR longPtr = ::GetWindowLongPtr(hWnd, 0);
111 return webView->wndProc(hWnd, message, wParam, lParam);
117 ::SetWindowLongPtr(hWnd, 0, (LONG_PTR)createStruct->lpCreateParams);
121 return ::DefWindowProc(hWnd, message, wParam, lParam);
124 LRESULT WebView::wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
141 lResult = onPaintEvent(hWnd, message, wParam, lParam, handled);
144 lResult = onPrintClientEvent(hWnd, message, wParam, lParam, handled);
161 lResult = onMouseEvent(hWnd, message, wParam, lParam, handled);
165 lResult = onWheelEvent(hWnd, message, wParam, lParam, handled);
168 lResult = onHorizontalScroll(hWnd, message, wParam, lParam, handled);
171 lResult = onVerticalScroll(hWnd, message, wParam, lParam, handled);
174 lResult = onGestureNotify(hWnd, message, wParam, lParam, handled);
177 lResult = onGesture(hWnd, message, wParam, lParam, handled);
185 lResult = onKeyEvent(hWnd, message, wParam, lParam, handled);
188 lResult = onSizeEvent(hWnd, message, wParam, lParam, handled);
191 lResult = onWindowPositionChangedEvent(hWnd, message, wParam, lParam, handled);
194 lResult = onSetFocusEvent(hWnd, message, wParam, lParam, handled);
197 lResult = onKillFocusEvent(hWnd, message, wParam, lParam, handled);
200 lResult = onTimerEvent(hWnd, message, wParam, lParam, handled);
203 lResult = onShowWindowEvent(hWnd, message, wParam, lParam, handled);
206 lResult = onSetCursor(hWnd, message, wParam, lParam, handled);
232 lResult = ::DefWindowProc(hWnd, message, wParam, lParam);
262 WebView::WebView(RECT rect, WebContext* context, WebPageGroup* pageGroup, HWND parentWindow)
330 void WebView::setParentWindow(HWND parentWindow)
350 static HWND findTopLevelParentWindow(HWND window)
355 HWND current = window;
356 for (HWND parent = GetParent(current); current; current = parent, parent = GetParent(parent)) {
366 HWND newTopLevelParentWindow;
389 LRESULT WebView::onMouseEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
391 NativeWebMouseEvent mouseEvent = NativeWebMouseEvent(hWnd, message, wParam, lParam, m_wasActivatedByMouseEvent);
426 LRESULT WebView::onWheelEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
428 WebWheelEvent wheelEvent = WebEventFactory::createWebWheelEvent(hWnd, message, wParam, lParam);
442 LRESULT WebView::onHorizontalScroll(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
474 LRESULT WebView::onVerticalScroll(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
506 LRESULT WebView::onGestureNotify(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
529 LRESULT WebView::onGesture(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
609 LRESULT WebView::onKeyEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
611 m_page->handleKeyboardEvent(NativeWebKeyboardEvent(hWnd, message, wParam, lParam));
669 LRESULT WebView::onPaintEvent(HWND hWnd, UINT message, WPARAM, LPARAM, bool& handled)
688 LRESULT WebView::onPrintClientEvent(HWND hWnd, UINT, WPARAM wParam, LPARAM, bool& handled)
692 ::GetClientRect(hWnd, &winRect);
714 LRESULT WebView::onSizeEvent(HWND, UINT, WPARAM, LPARAM lParam, bool& handled)
728 LRESULT WebView::onWindowPositionChangedEvent(HWND, UINT, WPARAM, LPARAM lParam, bool& handled)
737 LRESULT WebView::onSetFocusEvent(HWND, UINT, WPARAM, LPARAM lParam, bool& handled)
744 LRESULT WebView::onKillFocusEvent(HWND, UINT, WPARAM, LPARAM lParam, bool& handled)
751 LRESULT WebView::onTimerEvent(HWND hWnd, UINT, WPARAM wParam, LPARAM, bool& handled)
755 ::KillTimer(hWnd, UpdateActiveStateTimer);
764 LRESULT WebView::onShowWindowEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
776 LRESULT WebView::onSetCursor(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool& handled)
958 HWND activeWindow = ::GetActiveWindow();
1377 ::DefWindowProcW(event.nativeEvent()->hwnd, event.nativeEvent()->message, event.nativeEvent()->wParam, event.nativeEvent()->lParam);
1505 HWND WebView::nativeWindow()
1512 void WebView::windowReceivedMessage(HWND, UINT message, WPARAM wParam, LPARAM)