Lines Matching refs:lParam
19 static INT_PTR APIENTRY DialogProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam)
23 tempDialog.SetUserDataLongPtr(lParam);
29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); }
33 bool CDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
38 case WM_COMMAND: return OnCommand(wParam, lParam);
39 case WM_NOTIFY: return OnNotify((UINT)wParam, (LPNMHDR) lParam);
40 case WM_TIMER: return OnTimer(wParam, lParam);
41 case WM_SIZE: return OnSize(wParam, LOWORD(lParam), HIWORD(lParam));
50 lParam);
57 bool CDialog::OnCommand(WPARAM wParam, LPARAM lParam)
59 return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam);
62 bool CDialog::OnCommand(int code, int itemID, LPARAM lParam)
65 return OnButtonClicked(itemID, (HWND)lParam);
195 HWND aHWND = CreateDialogParam(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
204 return DialogBoxParam(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
213 aHWND = CreateDialogParamW(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
225 aHWND = CreateDialogParamA(g_hInstance, templateNameA, parentWindow, DialogProcedure, (LPARAM)this);
236 return DialogBoxParamW(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
246 return DialogBoxParamA(g_hInstance, templateNameA, parentWindow, DialogProcedure, (LPARAM)this);