Lines Matching refs:nMsg
2394 int nMsg; in CaptureMouse() local
2396 nMsg = SAL_MSG_CAPTUREMOUSE; in CaptureMouse()
2398 nMsg = SAL_MSG_RELEASEMOUSE; in CaptureMouse()
2399 ImplSendMessage( mhWnd, nMsg, 0, 0 ); in CaptureMouse()
3333 static long ImplHandleMouseMsg( HWND hWnd, UINT nMsg, in ImplHandleMouseMsg() argument
3340 if( nMsg == WM_LBUTTONDOWN || nMsg == WM_MBUTTONDOWN || nMsg == WM_RBUTTONDOWN ) in ImplHandleMouseMsg()
3348 ImplPostMessage( hWnd, nMsg, wParam, lParam ); in ImplHandleMouseMsg()
3379 switch ( nMsg ) in ImplHandleMouseMsg()
3490 if ( nMsg == WM_MOUSEMOVE ) in ImplHandleMouseMsg()
3521 static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) in ImplHandleWheelMsg() argument
3523 DBG_ASSERT( nMsg == WM_MOUSEWHEEL || in ImplHandleWheelMsg()
3524 nMsg == WM_MOUSEHWHEEL, in ImplHandleWheelMsg()
3554 if( nMsg == WM_MOUSEWHEEL ) in ImplHandleWheelMsg()
3712 static long ImplHandleKeyMsg( HWND hWnd, UINT nMsg, in ImplHandleKeyMsg() argument
3728 if ( nMsg == WM_DEADCHAR ) in ImplHandleKeyMsg()
3752 if ( (nMsg == WM_CHAR) || (nMsg == WM_SYSCHAR) ) in ImplHandleKeyMsg()
3809 else if( nMsg == WM_UNICHAR ) in ImplHandleKeyMsg()
3892 sal_Bool bKeyUp = (nMsg == WM_KEYUP) || (nMsg == WM_SYSKEYUP); in ImplHandleKeyMsg()
3998 long ImplHandleSalObjKeyMsg( HWND hWnd, UINT nMsg, in ImplHandleSalObjKeyMsg() argument
4001 if ( (nMsg == WM_KEYDOWN) || (nMsg == WM_KEYUP) ) in ImplHandleSalObjKeyMsg()
4022 sal_Bool bKeyUp = (nMsg == WM_KEYUP) || (nMsg == WM_SYSKEYUP); in ImplHandleSalObjKeyMsg()
4444 static void ImplHandleSettingsChangeMsg( HWND hWnd, UINT nMsg, in ImplHandleSettingsChangeMsg() argument
4449 if ( nMsg == WM_DEVMODECHANGE ) in ImplHandleSettingsChangeMsg()
4451 else if ( nMsg == WM_DISPLAYCHANGE ) in ImplHandleSettingsChangeMsg()
4453 else if ( nMsg == WM_FONTCHANGE ) in ImplHandleSettingsChangeMsg()
4455 else if ( nMsg == WM_TIMECHANGE ) in ImplHandleSettingsChangeMsg()
4457 else if ( nMsg == WM_WININICHANGE ) in ImplHandleSettingsChangeMsg()
4466 if ( nMsg == WM_SETTINGCHANGE ) in ImplHandleSettingsChangeMsg()
4474 if ( WM_SYSCOLORCHANGE == nMsg && GetSalData()->mhDitherPal ) in ImplHandleSettingsChangeMsg()
4482 if ( (nMsg == WM_DISPLAYCHANGE) || (nMsg == WM_WININICHANGE) ) in ImplHandleSettingsChangeMsg()
4543 static LRESULT ImplHandlePalette( sal_Bool bFrame, HWND hWnd, UINT nMsg, in ImplHandlePalette() argument
4555 if ( (nMsg == WM_PALETTECHANGED) || (nMsg == SAL_MSG_POSTPALCHANGED) ) in ImplHandlePalette()
4562 if ( (nMsg == WM_QUERYNEWPALETTE) || (nMsg == WM_PALETTECHANGED) ) in ImplHandlePalette()
4568 else if ( nMsg == WM_QUERYNEWPALETTE ) in ImplHandlePalette()
4685 if ( nMsg == WM_PALETTECHANGED ) in ImplHandlePalette()
5796 static int ImplSalWheelMousePos( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam , in ImplSalWheelMousePos() argument
5818 rResult = ImplSendMessage( hWheelWnd, nMsg, wParam, lParam ); in ImplSalWheelMousePos()
5827 LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, int& rDef ) in SalFrameWndProc() argument
5834 if ( nMsg == WM_CREATE ) in SalFrameWndProc()
5859 if ( WM_USER_SYSTEM_WINDOW_ACTIVATED == nMsg ) in SalFrameWndProc()
5869 switch( nMsg ) in SalFrameWndProc()
5881 rDef = !ImplHandleMouseMsg( hWnd, nMsg, wParam, lParam ); in SalFrameWndProc()
5916 rDef = !ImplHandleKeyMsg( hWnd, nMsg, wParam, lParam, nRet ); in SalFrameWndProc()
5928 rDef = !ImplHandleWheelMsg( hWnd, nMsg, wParam, lParam ); in SalFrameWndProc()
5933 rDef = ImplSalWheelMousePos( hWnd, nMsg, wParam, lParam, nRet ); in SalFrameWndProc()
6022 nRet = ImplHandlePalette( TRUE, hWnd, nMsg, wParam, lParam, rDef ); in SalFrameWndProc()
6129 ImplHandleSettingsChangeMsg( hWnd, nMsg, wParam, lParam ); in SalFrameWndProc()
6273 if ( rDef && (nMsg == aSalShlData.mnWheelMsgId) && aSalShlData.mnWheelMsgId ) in SalFrameWndProc()
6297 nRet = ImplSendMessage( hWheelWnd, nMsg, wParam, lParam ); in SalFrameWndProc()
6301 rDef = ImplSalWheelMousePos( hWnd, nMsg, wParam, lParam, nRet ); in SalFrameWndProc()
6325 LRESULT CALLBACK SalFrameWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) argument
6339 nRet = SalFrameWndProc( hWnd, nMsg, wParam, lParam, bDef );
6349 nRet = DefWindowProcA( hWnd, nMsg, wParam, lParam );
6353 LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) argument
6367 nRet = SalFrameWndProc( hWnd, nMsg, wParam, lParam, bDef );
6378 nRet = DefWindowProcW( hWnd, nMsg, wParam, lParam );
6384 sal_Bool ImplHandleGlobalMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, LRESULT& rlResult… argument
6389 if ( (nMsg == WM_PALETTECHANGED) || (nMsg == SAL_MSG_POSTPALCHANGED) )
6392 rlResult = ImplHandlePalette( FALSE, hWnd, nMsg, wParam, lParam, bDef );
6395 else if( nMsg == WM_DISPLAYCHANGE )