Home
last modified time | relevance | path

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

123

/external/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(wParam, lParam, result)) in OnMessage()
147 if (OnNotify((UINT)wParam, (LPNMHDR) lParam, result)) in OnMessage()
[all …]
DDialog.cpp19 static INT_PTR APIENTRY DialogProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam) in DialogProcedure() argument
29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in DialogProcedure()
33 bool CDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
38 case WM_COMMAND: return OnCommand(wParam, lParam); in OnMessage()
39 case WM_NOTIFY: return OnNotify((UINT)wParam, (LPNMHDR) lParam); in OnMessage()
40 case WM_TIMER: return OnTimer(wParam, lParam); in OnMessage()
41 case WM_SIZE: return OnSize(wParam, LOWORD(lParam), HIWORD(lParam)); in OnMessage()
57 bool CDialog::OnCommand(WPARAM wParam, LPARAM lParam) in OnCommand() argument
59 return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam); in OnCommand()
DListView.cpp100 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);
DDialog.h74 LRESULT SendItemMessage(int itemID, UINT message, WPARAM wParam, LPARAM lParam) in SendItemMessage() argument
75 { return SendDlgItemMessage(_window, itemID, message, wParam, lParam); } in SendItemMessage()
90 virtual bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
92 virtual bool OnCommand(WPARAM wParam, LPARAM lParam);
/external/skqp/tools/sk_app/win/
DWindow_win.cpp57 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
161 static uint32_t get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument
196 if (wParam & MK_CONTROL) { in get_modifiers()
199 if (wParam & MK_SHIFT) { in get_modifiers()
208 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
240 eventHandled = window->onChar((SkUnichar)wParam, in WndProc()
241 get_modifiers(message, wParam, lParam)); in WndProc()
245 const uint16_t* c = reinterpret_cast<uint16_t*>(&wParam); in WndProc()
247 get_modifiers(message, wParam, lParam)); in WndProc()
252 eventHandled = window->onKey(get_key(wParam), Window::kDown_InputState, in WndProc()
[all …]
/external/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
242 eventHandled = window->onChar((SkUnichar)wParam, in WndProc()
243 get_modifiers(message, wParam, lParam)); in WndProc()
247 const uint16_t* c = reinterpret_cast<uint16_t*>(&wParam); in WndProc()
249 get_modifiers(message, wParam, lParam)); in WndProc()
254 eventHandled = window->onKey(get_key(wParam), skui::InputState::kDown, in WndProc()
[all …]
/external/deqp/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()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/
Drx_windows_user.h20 WPARAM wParam; member
29 return *reinterpret_cast<T*>(std::addressof(wParam)); in wparam_cast()
46 , wParam(m.wparam_cast<WPARAM_t>()) in TypedMessage()
53 WPARAM_t wParam; member
69 std::tuple<bool, LRESULT> message(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { in message()
71 auto m = Message{hWnd, message, wParam, lParam, &result}; in message()
Dwindows_user.h9 LRESULT CALLBACK WindowCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) noexcept;
81 … LRESULT CALLBACK WindowCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) noexcept { in WindowCallback() argument
103 std::tie(handled, lResult) = type->message(hWnd, message, wParam, lParam); in WindowCallback()
107 lResult = DefWindowProc(hWnd, message, wParam, lParam); in WindowCallback()
/external/webrtc/rtc_base/
Dwin32_window_unittest.cc25 WPARAM wParam, in OnMessage() argument
29 msg_.wParam = wParam; in OnMessage()
49 EXPECT_EQ(1u, wnd.msg().wParam); in TEST()
Dwin32_window.cc86 bool Win32Window::OnMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, in OnMessage() argument
105 LRESULT Win32Window::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, in WndProc() argument
117 bool handled = that->OnMessage(uMsg, wParam, lParam, result); in WndProc()
133 return ::DefWindowProc(hwnd, uMsg, wParam, lParam); in WndProc()
Dwin32_socket_server.cc128 WPARAM wParam,
134 bool OnSocketNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& result);
135 bool OnDnsNotify(WPARAM wParam, LPARAM lParam, LRESULT& result);
150 WPARAM wParam, in OnMessage() argument
156 return OnSocketNotify(uMsg, wParam, lParam, result); in OnMessage()
158 return OnDnsNotify(wParam, lParam, result); in OnMessage()
164 WPARAM wParam, in OnSocketNotify() argument
179 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error); in OnSocketNotify()
183 bool Win32Socket::EventSink::OnDnsNotify(WPARAM wParam, in OnDnsNotify() argument
190 parent_->OnDnsNotify(reinterpret_cast<HANDLE>(wParam), error); in OnDnsNotify()
Dwin32_window.h46 WPARAM wParam,
56 WPARAM wParam,
/external/mdnsresponder/mDNSWindows/ControlPanel/
DConfigPropertySheet.cpp95 CConfigPropertySheet::OnCommand(WPARAM wParam, LPARAM lParam) in OnCommand() argument
99 if ( ( wParam == ID_WIZFINISH ) || ( wParam == IDOK ) || ( wParam == IDCANCEL ) ) in OnCommand()
104 return CPropertySheet::OnCommand(wParam, lParam); in OnCommand()
/external/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)); }
/external/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.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()
/external/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()
/external/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()
/external/angle/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()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog.cpp133 bool CProgressDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) in OnMessage() argument
156 return CModalDialog::OnMessage(message, wParam, lParam); in OnMessage()
/external/python/cpython2/Lib/ctypes/test/
Dtest_funcptr.py48 def wndproc(hwnd, msg, wParam, lParam): argument
49 return hwnd + msg + wParam + lParam
/external/python/cpython3/Lib/ctypes/test/
Dtest_funcptr.py48 def wndproc(hwnd, msg, wParam, lParam): argument
49 return hwnd + msg + wParam + lParam
/external/angle/src/libGLESv2/
Dglobal_state.cpp181 INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
193 if (LOWORD(wParam) == IDCANCEL) in DebuggerWaitDialogProc()

123