Home
last modified time | relevance | path

Searched refs:lParam (Results 1 – 25 of 70) sorted by relevance

123

/third_party/lzma/CPP/Windows/Control/
DWindow2.cpp29 static LRESULT CALLBACK WindowProcedure(HWND aHWND, UINT message, WPARAM wParam, LPARAM lParam) in WindowProcedure() argument
33 tempWindow.SetUserDataLongPtr((LONG_PTR)(((LPCREATESTRUCT)lParam)->lpCreateParams)); in WindowProcedure()
41 return DefWindowProcW(aHWND, message, wParam, lParam); in WindowProcedure()
44 return DefWindowProc(aHWND, message, wParam, lParam); in WindowProcedure()
46 return window->OnMessage(message, wParam, lParam); in WindowProcedure()
123 LRESULT CWindow2::DefProc(UINT message, WPARAM wParam, LPARAM lParam) in DefProc() argument
127 return DefWindowProcW(_window, message, wParam, lParam); in DefProc()
130 return DefWindowProc(_window, message, wParam, lParam); in DefProc()
133 LRESULT CWindow2::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
139 if (!OnCreate((CREATESTRUCT *)lParam)) in OnMessage()
[all …]
DPropertyPage.cpp19 …NT_PTR APIENTRY MyProperyPageProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam) in MyProperyPageProcedure() argument
23 tempDialog.SetUserDataLongPtr(((PROPSHEETPAGE *)lParam)->lParam); in MyProperyPageProcedure()
29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in MyProperyPageProcedure()
33 bool CPropertyPage::OnNotify(UINT /* controlID */, LPNMHDR lParam) in OnNotify() argument
35 switch (lParam->code) in OnNotify()
37 case PSN_APPLY: SetMsgResult(OnApply(LPPSHNOTIFY(lParam))); break; in OnNotify()
38 case PSN_KILLACTIVE: SetMsgResult(BoolToBOOL(OnKillActive(LPPSHNOTIFY(lParam)))); break; in OnNotify()
39 case PSN_SETACTIVE: SetMsgResult(OnSetActive(LPPSHNOTIFY(lParam))); break; in OnNotify()
40 case PSN_RESET: OnReset(LPPSHNOTIFY(lParam)); break; in OnNotify()
41 case PSN_HELP: OnNotifyHelp(LPPSHNOTIFY(lParam)); break; in OnNotify()
[all …]
DDialog.cpp21 static INT_PTR APIENTRY DialogProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam) in DialogProcedure() argument
25 tempDialog.SetUserDataLongPtr(lParam); in DialogProcedure()
39 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in DialogProcedure()
43 bool CDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
48 case WM_COMMAND: return OnCommand(wParam, lParam); in OnMessage()
49 case WM_NOTIFY: return OnNotify((UINT)wParam, (LPNMHDR) lParam); in OnMessage()
50 case WM_TIMER: return OnTimer(wParam, lParam); in OnMessage()
51 case WM_SIZE: return OnSize(wParam, LOWORD(lParam), HIWORD(lParam)); in OnMessage()
68 bool CDialog::OnCommand(WPARAM wParam, LPARAM lParam) in OnCommand() argument
70 return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam); in OnCommand()
[all …]
DListView.cpp30 param = item.lParam; in GetItemParam()
49 item.lParam = index; in InsertItem()
82 item.lParam = index; in InsertItem()
100 static LRESULT APIENTRY ListViewSubclassProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in ListViewSubclassProc() argument
106 return w->OnMessage(message, wParam, lParam); in ListViewSubclassProc()
109 LRESULT CListView2::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
113 return CallWindowProcW(_origWindowProc, *this, message, wParam, lParam); in OnMessage()
116 return CallWindowProc(_origWindowProc, *this, message, wParam, lParam); in OnMessage()
DWindow2.h13 LRESULT DefProc(UINT message, WPARAM wParam, LPARAM lParam);
28 virtual LRESULT OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
31 virtual bool OnCommand(WPARAM wParam, LPARAM lParam, LRESULT &result);
32 virtual bool OnCommand(int code, int itemID, LPARAM lParam, LRESULT &result);
DDialog.h80 LRESULT SendMsg_NextDlgCtl(WPARAM wParam, LPARAM lParam) in SendMsg_NextDlgCtl() argument
81 { return SendMsg(WM_NEXTDLGCTL, wParam, lParam); } in SendMsg_NextDlgCtl()
93 LRESULT SendItemMessage(int itemID, UINT message, WPARAM wParam, LPARAM lParam) in SendItemMessage() argument
94 { return SendDlgItemMessage(_window, itemID, message, wParam, lParam); } in SendItemMessage()
109 virtual bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
111 virtual bool OnCommand(WPARAM wParam, LPARAM lParam);
112 virtual bool OnCommand(int code, int itemID, LPARAM lParam);
DPropertyPage.h15 INT_PTR APIENTRY ProperyPageProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam);
25 virtual bool OnNotify(UINT controlID, LPNMHDR lParam);
/third_party/skia/tools/sk_app/win/
DWindow_win.cpp59 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
163 static skui::ModifierKey get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument
169 if (0 == (lParam & (1 << 30))) { in get_modifiers()
172 if (lParam & (1 << 29)) { in get_modifiers()
179 if (0 == (lParam & (1 << 30))) { in get_modifiers()
182 if (lParam & (1 << 29)) { in get_modifiers()
189 if (lParam & (1 << 29)) { in get_modifiers()
210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
236 window->onResize(LOWORD(lParam), HIWORD(lParam)); in WndProc()
242 get_modifiers(message, wParam, lParam)); in WndProc()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/win32/
Dgstglwindow_win32.c29 LPARAM lParam);
31 LPARAM lParam);
435 LPARAM lParam) in gst_gl_window_win32_handle_key_event() argument
439 if (GetKeyNameTextW (lParam, (LPWSTR) wcrep, 128)) { in gst_gl_window_win32_handle_key_event()
480 LPARAM lParam) in gst_gl_window_win32_handle_mouse_event() argument
526 mouse_event->pos_x = (gdouble) LOWORD (lParam); in gst_gl_window_win32_handle_mouse_event()
527 mouse_event->pos_y = (gdouble) HIWORD (lParam); in gst_gl_window_win32_handle_mouse_event()
538 window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in window_proc() argument
545 GST_GL_WINDOW_WIN32 (((LPCREATESTRUCT) lParam)->lpCreateParams); in window_proc()
568 gst_gl_window_resize (window, LOWORD (lParam), HIWORD (lParam)); in window_proc()
[all …]
/third_party/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp232 LRESULT CALLBACK Win32Window::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
238 LPCREATESTRUCT pCreateStruct = reinterpret_cast<LPCREATESTRUCT>(lParam); in WndProc()
241 return DefWindowProcA(hWnd, message, wParam, lParam); in WndProc()
335 event.Key.Code = VirtualKeyCodeToKey(wParam, lParam); in WndProc()
356 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
357 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
367 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
368 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
379 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
380 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
[all …]
/third_party/cef/tests/cefclient/browser/
Dosr_window_win.cc384 void OsrWindowWin::OnIMESetContext(UINT message, WPARAM wParam, LPARAM lParam) { in OnIMESetContext() argument
388 lParam &= ~ISC_SHOWUICOMPOSITIONWINDOW; in OnIMESetContext()
389 ::DefWindowProc(hwnd_, message, wParam, lParam); in OnIMESetContext()
408 LPARAM lParam) { in OnIMEComposition() argument
411 if (ime_handler_->GetResult(lParam, cTextStr)) { in OnIMEComposition()
425 if (ime_handler_->GetComposition(lParam, cTextStr, underlines, in OnIMEComposition()
457 LPARAM lParam) { in OsrWndProc() argument
462 return DefWindowProc(hWnd, message, wParam, lParam); in OsrWndProc()
467 self->OnIMESetContext(message, wParam, lParam); in OsrWndProc()
473 self->OnIMEComposition(message, wParam, lParam); in OsrWndProc()
[all …]
Droot_window_win.cc35 LPARAM lParam) { in AboutWndProc() argument
36 UNREFERENCED_PARAMETER(lParam); in AboutWndProc()
424 LPARAM lParam) { in EditWndProc() argument
455 return CallWindowProc(self->edit_wndproc_old_, hWnd, message, wParam, lParam); in EditWndProc()
462 LPARAM lParam) { in FindWndProc() argument
482 return CallWindowProc(self->find_wndproc_old_, hWnd, message, wParam, lParam); in FindWndProc()
489 LPARAM lParam) { in RootWndProc() argument
496 return DefWindowProc(hWnd, message, wParam, lParam); in RootWndProc()
502 LPFINDREPLACE lpfr = reinterpret_cast<LPFINDREPLACE>(lParam); in RootWndProc()
518 DWORD obj_id = static_cast<DWORD>(static_cast<DWORD_PTR>(lParam)); in RootWndProc()
[all …]
Dosr_window_win.h87 LPARAM lParam);
90 void OnMouseEvent(UINT message, WPARAM wParam, LPARAM lParam);
94 void OnKeyEvent(UINT message, WPARAM wParam, LPARAM lParam);
97 bool OnTouchEvent(UINT message, WPARAM wParam, LPARAM lParam);
99 void OnIMESetContext(UINT message, WPARAM wParam, LPARAM lParam);
101 void OnIMEComposition(UINT message, WPARAM wParam, LPARAM lParam);
Droot_window_win.h66 LPARAM lParam);
72 LPARAM lParam);
78 LPARAM lParam);
86 void OnDpiChanged(WPARAM wParam, LPARAM lParam);
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx9/
Dmain.cpp20 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
209 …IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
212 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
214 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
222 g_d3dpp.BackBufferWidth = LOWORD(lParam); in WndProc()
223 g_d3dpp.BackBufferHeight = HIWORD(lParam); in WndProc()
235 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
Dmain.cpp22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
219 …IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
222 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
224 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
233 …g_pSwapChain->ResizeBuffers(0, (UINT)LOWORD(lParam), (UINT)HIWORD(lParam), DXGI_FORMAT_UNKNOWN, 0); in WndProc()
245 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
Dmain.cpp22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
215 …IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
218 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
220 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
229 …g_pSwapChain->ResizeBuffers(0, (UINT)LOWORD(lParam), (UINT)HIWORD(lParam), DXGI_FORMAT_UNKNOWN, 0); in WndProc()
241 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/win32/
Dgstvkwindow_win32.c30 LPARAM lParam);
32 LPARAM lParam);
489 window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in window_proc() argument
496 GST_VULKAN_WINDOW_WIN32 (((LPCREATESTRUCT) lParam)->lpCreateParams); in window_proc()
517 gst_vulkan_window_resize (window, LOWORD (lParam), HIWORD (lParam)); in window_proc()
542 ret = DefWindowProc (hWnd, uMsg, wParam, lParam); in window_proc()
547 ret = DefWindowProc (hWnd, uMsg, wParam, lParam); in window_proc()
554 sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in sub_class_proc() argument
560 MoveWindow (vulkan_window_id, 0, 0, LOWORD (lParam), HIWORD (lParam), in sub_class_proc()
564 return CallWindowProc (window_parent_proc, hWnd, uMsg, wParam, lParam); in sub_class_proc()
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWin32Window.cpp31 static LRESULT CALLBACK windowProcCallback (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in windowProcCallback() argument
35 return window->windowProc(uMsg, wParam, lParam); in windowProcCallback()
37 return DefWindowProc(hWnd, uMsg, wParam, lParam); in windowProcCallback()
146 LRESULT Window::windowProc (UINT uMsg, WPARAM wParam, LPARAM lParam) in windowProc() argument
165 return DefWindowProc(m_window, uMsg, wParam, lParam); in windowProc()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_win32.cpp48 LPARAM lParam);
50 LPARAM lParam);
590 HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in gst_d3d11_window_win32_on_key_event() argument
599 if (GetKeyNameTextW (lParam, (LPWSTR) wcrep, 128)) { in gst_d3d11_window_win32_on_key_event()
615 HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in gst_d3d11_window_win32_on_mouse_event() argument
660 event, button, (gdouble) LOWORD (lParam), (gdouble) HIWORD (lParam)); in gst_d3d11_window_win32_on_mouse_event()
665 HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in gst_d3d11_window_win32_handle_window_proc() argument
684 gst_d3d11_window_win32_on_key_event (self, hWnd, uMsg, wParam, lParam); in gst_d3d11_window_win32_handle_window_proc()
693 gst_d3d11_window_win32_on_mouse_event (self, hWnd, uMsg, wParam, lParam); in gst_d3d11_window_win32_handle_window_proc()
746 window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in window_proc() argument
[all …]
/third_party/glfw/src/
Dwin32_window.c342 static int translateKey(WPARAM wParam, LPARAM lParam) in translateKey() argument
352 if (lParam & 0x01000000) in translateKey()
368 (next.lParam & 0x01000000) && in translateKey()
388 return _glfw.win32.publicKeys[HIWORD(lParam) & 0x1FF]; in translateKey()
426 WPARAM wParam, LPARAM lParam) in windowProc() argument
444 DEV_BROADCAST_HDR* dbh = (DEV_BROADCAST_HDR*) lParam; in windowProc()
453 DEV_BROADCAST_HDR* dbh = (DEV_BROADCAST_HDR*) lParam; in windowProc()
465 return DefWindowProcW(hWnd, uMsg, wParam, lParam); in windowProc()
545 const int key = translateKey(wParam, lParam); in windowProc()
546 const int scancode = (lParam >> 16) & 0x1ff; in windowProc()
[all …]
/third_party/lzma/CPP/Windows/
DWindow.h226 LRESULT SendMsg(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
227 { return ::SendMessage(_window, message, wParam, lParam); }
229 LRESULT SendMsgW(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
230 { return ::SendMessageW(_window, message, wParam, lParam); }
233 bool PostMsg(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
234 { return BOOLToBool(::PostMessage(_window, message, wParam, lParam)); }
236 bool PostMsgW(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
237 { return BOOLToBool(::PostMessageW(_window, message, wParam, lParam)); }
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_win.cc388 return !DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam); in HandleKeyboardEvent()
414 msg.lParam = (scan_code << 16) | // key scan code in HandleKeyboardEvent()
417 msg.lParam |= (1 << 29); in HandleKeyboardEvent()
419 return !DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam); in HandleKeyboardEvent()
552 LPARAM lParam) { in WndProc() argument
575 CREATESTRUCT* cs = reinterpret_cast<CREATESTRUCT*>(lParam); in WndProc()
645 const RECT* rect = reinterpret_cast<RECT*>(lParam); in WndProc()
653 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp57 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
435 …IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
438 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
440 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
450 …HRESULT result = g_pSwapChain->ResizeBuffers(0, (UINT)LOWORD(lParam), (UINT)HIWORD(lParam), DXGI_F… in WndProc()
463 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dclayout.c124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
169 context->width = LOWORD(lParam); in WndProc()
170 context->height = HIWORD(lParam); in WndProc()
365 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()

123