Home
last modified time | relevance | path

Searched refs:wParam (Results 1 – 25 of 60) sorted by relevance

123

/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
198 if (wParam & MK_CONTROL) { in get_modifiers()
201 if (wParam & MK_SHIFT) { in get_modifiers()
210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
241 eventHandled = window->onChar((SkUnichar)wParam, in WndProc()
242 get_modifiers(message, wParam, lParam)); in WndProc()
246 const uint16_t* cPtr = reinterpret_cast<uint16_t*>(&wParam); in WndProc()
248 eventHandled = window->onChar(c, get_modifiers(message, wParam, lParam)); in WndProc()
253 eventHandled = window->onKey(get_key(wParam), skui::InputState::kDown, in WndProc()
[all …]
/third_party/lzma/CPP/Windows/Control/
DWindow2.cpp29 static LRESULT CALLBACK WindowProcedure(HWND aHWND, UINT message, WPARAM wParam, LPARAM lParam) in WindowProcedure() argument
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
143 if (OnCommand(HIWORD(wParam), LOWORD(wParam), lParam, result)) in OnMessage()
147 if (OnNotify((UINT)wParam, (LPNMHDR) lParam, result)) in OnMessage()
[all …]
DDialog.cpp28 DialogProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam) in DialogProcedure() argument
46 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in DialogProcedure()
50 bool CDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
55 case WM_COMMAND: return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam); in OnMessage()
56 case WM_NOTIFY: return OnNotify((UINT)wParam, (LPNMHDR) lParam); in OnMessage()
57 case WM_TIMER: return OnTimer(wParam, lParam); in OnMessage()
58 case WM_SIZE: return OnSize(wParam, LOWORD(lParam), HIWORD(lParam)); in OnMessage()
DListView.cpp107 static LRESULT APIENTRY ListViewSubclassProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in ListViewSubclassProc() argument
113 return w->OnMessage(message, wParam, lParam); in ListViewSubclassProc()
116 LRESULT CListView2::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
120 return CallWindowProcW(_origWindowProc, *this, message, wParam, lParam); in OnMessage()
123 return CallWindowProc(_origWindowProc, *this, message, wParam, lParam); in OnMessage()
DDialog.h81 LRESULT SendMsg_NextDlgCtl(WPARAM wParam, LPARAM lParam) in SendMsg_NextDlgCtl() argument
82 { return SendMsg(WM_NEXTDLGCTL, wParam, lParam); } in SendMsg_NextDlgCtl()
94 LRESULT SendItemMessage(unsigned itemID, UINT message, WPARAM wParam, LPARAM lParam) in SendItemMessage() argument
95 { return SendDlgItemMessage(_window, (int)itemID, message, wParam, lParam); } in SendItemMessage()
111 virtual bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
DWindow2.h15 LRESULT DefProc(UINT message, WPARAM wParam, LPARAM lParam);
30 virtual LRESULT OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_win32.cpp357 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP…
359 IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP… in ImGui_ImplWin32_WndProcHandler() argument
393 …if (msg == WM_XBUTTONDOWN || msg == WM_XBUTTONDBLCLK) { button = (GET_XBUTTON_WPARAM(wParam) == XB… in ImGui_ImplWin32_WndProcHandler()
408 if (msg == WM_XBUTTONUP) { button = (GET_XBUTTON_WPARAM(wParam) == XBUTTON1) ? 3 : 4; } in ImGui_ImplWin32_WndProcHandler()
415 io.MouseWheel += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler()
418 io.MouseWheelH += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler()
426 if (wParam < 256) in ImGui_ImplWin32_WndProcHandler()
427 io.KeysDown[wParam] = down; in ImGui_ImplWin32_WndProcHandler()
428 if (wParam == VK_CONTROL) in ImGui_ImplWin32_WndProcHandler()
430 if (wParam == VK_SHIFT) in ImGui_ImplWin32_WndProcHandler()
[all …]
/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
157 if (wParam == VK_ESCAPE) in windowProc()
165 return DefWindowProc(m_window, uMsg, wParam, lParam); in windowProc()
/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 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP…
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()
220 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc()
228 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu 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 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP…
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()
230 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc()
238 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu 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 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP…
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()
226 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc()
234 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc()
241 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/glfw/src/
Dwin32_window.c342 static int translateKey(WPARAM wParam, LPARAM lParam) in translateKey() argument
344 if (wParam == VK_CONTROL) in translateKey()
367 if (next.wParam == VK_MENU && in translateKey()
381 if (wParam == VK_PROCESSKEY) in translateKey()
426 WPARAM wParam, LPARAM lParam) in windowProc() argument
437 if (wParam == DBT_DEVNODES_CHANGED) in windowProc()
442 else if (wParam == DBT_DEVICEARRIVAL) in windowProc()
451 else if (wParam == DBT_DEVICEREMOVECOMPLETE) in windowProc()
465 return DefWindowProcW(hWnd, uMsg, wParam, lParam); in windowProc()
494 switch (wParam & 0xfff0) in windowProc()
[all …]
/third_party/lzma/CPP/Windows/
DWindow.h305 LRESULT SendMsg(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
306 { return ::SendMessage(_window, message, wParam, lParam); }
308 LRESULT SendMsgW(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
309 { return ::SendMessageW(_window, message, wParam, lParam); }
312 bool PostMsg(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
313 { return BOOLToBool(::PostMessage(_window, message, wParam, lParam)); }
315 bool PostMsgW(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)
316 { return BOOLToBool(::PostMessageW(_window, message, wParam, lParam)); }
/third_party/lame/dshow/
DPropPage.cpp206 BOOL CMpegAudEncPropertyPage::OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) in OnReceiveMessage() argument
224 switch (LOWORD(wParam)) in OnReceiveMessage()
227 if (HIWORD(wParam) == CBN_SELCHANGE) in OnReceiveMessage()
252 if (HIWORD(wParam) == CBN_SELCHANGE) in OnReceiveMessage()
277 if (HIWORD(wParam) == CBN_SELCHANGE) in OnReceiveMessage()
302 if (HIWORD(wParam) == CBN_SELCHANGE) in OnReceiveMessage()
320 if (HIWORD(wParam) == CBN_SELCHANGE) in OnReceiveMessage()
331 m_pAEProps->set_Variable(LOWORD(wParam)-IDC_RADIO_CBR); in OnReceiveMessage()
DPropPage_adv.cpp159 BOOL CMpegAudEncPropertyPageAdv::OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) in OnReceiveMessage() argument
164 switch (LOWORD(wParam)) in OnReceiveMessage()
172 DWORD dwChannelMode = LOWORD(wParam) - IDC_RADIO_STEREO; in OnReceiveMessage()
173 CheckRadioButton(hwnd, IDC_RADIO_STEREO, IDC_RADIO_MONO, LOWORD(wParam)); in OnReceiveMessage()
/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 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP…
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()
446 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc()
456 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc()
463 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/icu/icu4c/source/samples/layout/
Dlayout.cpp120 return msg.wParam; in WinMain()
123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
185 switch (LOWORD(wParam)) in WndProc()
266 switch (LOWORD(wParam)) { in WndProc()
360 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()
Dclayout.c122 return msg.wParam; in WinMain()
125 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
188 switch (LOWORD(wParam)) in WndProc()
269 switch (LOWORD(wParam)) { in WndProc()
366 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dclayout.c121 return msg.wParam; in WinMain()
124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
187 switch (LOWORD(wParam)) in WndProc()
268 switch (LOWORD(wParam)) { in WndProc()
365 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()
Dlayout.cpp120 return msg.wParam; in WinMain()
123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
185 switch (LOWORD(wParam)) in WndProc()
266 switch (LOWORD(wParam)) { in WndProc()
360 return DefWindowProc(hwnd, message, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
Dmain.cpp22 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
34 if(LOWORD(wParam) == IDCANCEL) in DebuggerWaitDialogProc()
/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
241 return DefWindowProcA(hWnd, message, wParam, lParam); in WndProc()
335 event.Key.Code = VirtualKeyCodeToKey(wParam, lParam); in WndProc()
345 event.MouseWheel.Delta = static_cast<short>(HIWORD(wParam)) / 120; in WndProc()
429 (HIWORD(wParam) == XBUTTON1) ? MOUSEBUTTON_BUTTON4 : MOUSEBUTTON_BUTTON5; in WndProc()
442 (HIWORD(wParam) == XBUTTON1) ? MOUSEBUTTON_BUTTON4 : MOUSEBUTTON_BUTTON5; in WndProc()
488 return DefWindowProcA(hWnd, message, wParam, lParam); in WndProc()
/third_party/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c40 WPARAM wParam, in window_proc() argument
49 return DefWindowProc(hWnd, uMsg, wParam, lParam); in window_proc()
/third_party/lzma/CPP/7zip/UI/FileManager/
DProgressDialog.cpp135 bool CProgressDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
161 return CModalDialog::OnMessage(message, wParam, lParam); in OnMessage()
/third_party/skia/third_party/externals/libpng/contrib/visupng/
DVisualPng.c144 return msg.wParam; in WinMain()
147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument
243 switch (LOWORD (wParam)) in WndProc()
428 return DefWindowProc (hwnd, message, wParam, lParam); in WndProc()
432 WPARAM wParam, LPARAM lParam) in AboutDlgProc() argument
443 switch (LOWORD (wParam)) in AboutDlgProc()

123