Lines Matching refs:pMsg

201 sal_Bool ImplSalPreDispatchMsg( MSG* pMsg )  in ImplSalPreDispatchMsg()  argument
207 if ( (pMsg->message == WM_LBUTTONDOWN) || in ImplSalPreDispatchMsg()
208 (pMsg->message == WM_RBUTTONDOWN) || in ImplSalPreDispatchMsg()
209 (pMsg->message == WM_MBUTTONDOWN) ) in ImplSalPreDispatchMsg()
212 pObject = ImplFindSalObject( pMsg->hwnd ); in ImplSalPreDispatchMsg()
218 if ( (pMsg->message == WM_KEYDOWN) || in ImplSalPreDispatchMsg()
219 (pMsg->message == WM_KEYUP) ) in ImplSalPreDispatchMsg()
228 if ( ((pMsg->wParam >= 65) && (pMsg->wParam <= 90)) || in ImplSalPreDispatchMsg()
229 ((pMsg->wParam >= 48) && (pMsg->wParam <= 57)) ) in ImplSalPreDispatchMsg()
234 else if ( ((pMsg->wParam >= VK_F1) && (pMsg->wParam <= VK_F24)) || in ImplSalPreDispatchMsg()
235 ((pMsg->wParam >= VK_SPACE) && (pMsg->wParam <= VK_HELP)) || in ImplSalPreDispatchMsg()
236 (pMsg->wParam == VK_BACK) || (pMsg->wParam == VK_TAB) || in ImplSalPreDispatchMsg()
237 (pMsg->wParam == VK_CLEAR) || (pMsg->wParam == VK_RETURN) || in ImplSalPreDispatchMsg()
238 (pMsg->wParam == VK_ESCAPE) ) in ImplSalPreDispatchMsg()
243 pObject = ImplFindSalObject( pMsg->hwnd ); in ImplSalPreDispatchMsg()
245 pSalData->mnSalObjWantKeyEvt = pMsg->wParam; in ImplSalPreDispatchMsg()
250 else if ( pMsg->message == WM_SYSCHAR ) in ImplSalPreDispatchMsg()
254 sal_uInt16 nKeyCode = LOWORD( pMsg->wParam ); in ImplSalPreDispatchMsg()
262 pObject = ImplFindSalObject( pMsg->hwnd ); in ImplSalPreDispatchMsg()
265 if ( pMsg->hwnd == ::GetFocus() ) in ImplSalPreDispatchMsg()
267 WinSalFrame* pFrame = ImplFindSalObjectFrame( pMsg->hwnd ); in ImplSalPreDispatchMsg()
270 if ( ImplHandleSalObjSysCharMsg( pFrame->mhWnd, pMsg->wParam, pMsg->lParam ) ) in ImplSalPreDispatchMsg()
288 void ImplSalPostDispatchMsg( MSG* pMsg, LRESULT /* nDispatchResult */ ) in ImplSalPostDispatchMsg() argument
294 if ( (pMsg->message == WM_KEYDOWN) || (pMsg->message == WM_KEYUP) ) in ImplSalPostDispatchMsg()
296 if ( pSalData->mnSalObjWantKeyEvt == pMsg->wParam ) in ImplSalPostDispatchMsg()
299 if ( pMsg->hwnd == ::GetFocus() ) in ImplSalPostDispatchMsg()
302 pFrame = ImplFindSalObjectFrame( pMsg->hwnd ); in ImplSalPostDispatchMsg()
304 ImplHandleSalObjKeyMsg( pFrame->mhWnd, pMsg->message, pMsg->wParam, pMsg->lParam ); in ImplSalPostDispatchMsg()