Lines Matching refs:hWnd

77 static void SetMaximizedFrameGeometry( HWND hWnd, Os2SalFrame* pFrame );
78 static void UpdateFrameGeometry( HWND hWnd, Os2SalFrame* pFrame );
79 static void ImplSalCalcFrameSize( HWND hWnd,
83 MRESULT EXPENTRY SalFrameSubClassWndProc( HWND hWnd, ULONG nMsg,
440 static void ImplSalCalcFrameSize( HWND hWnd, in ImplSalCalcFrameSize() argument
443 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplSalCalcFrameSize()
870 static HDC ImplWinGetDC( HWND hWnd ) in ImplWinGetDC() argument
872 HDC hDC = WinQueryWindowDC( hWnd ); in ImplWinGetDC()
874 hDC = WinOpenWindowDC( hWnd ); in ImplWinGetDC()
963 static void ImplSalShow( HWND hWnd, ULONG bVisible, ULONG bNoActivate ) in ImplSalShow() argument
965 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplSalShow()
976 …debug_printf( "ImplSalShow hwnd %x visible flag %d, no activate: flag %d\n", hWnd, bVisible, bNoAc… in ImplSalShow()
980 WinSetWindowPos(hWnd, NULL, 0, 0, 0, 0, SWP_SHOW); in ImplSalShow()
982 WinSetWindowPos(hWnd, NULL, 0, 0, 0, 0, pFrame->mnShowState); in ImplSalShow()
989 WinUpdateWindow( hWnd ); in ImplSalShow()
998 WinSetWindowPos(hWnd, NULL, 0, 0, 0, 0, SWP_HIDE); in ImplSalShow()
1176 if ( pNewParent->hWnd == 0 ) in SetPluginParent()
1178 pNewParent->hWnd = HWND_DESKTOP; in SetPluginParent()
1183 pNewParent->hWnd); in SetPluginParent()
1476 HWND hWnd; in SetAlwaysOnTop()
1478 hWnd = HWND_TOPMOST; in SetAlwaysOnTop()
1480 hWnd = HWND_NOTOPMOST; in SetAlwaysOnTop()
1481 SetWindowPos( mhWnd, hWnd, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE ); in SetAlwaysOnTop()
1488 static void ImplSalToTop( HWND hWnd, ULONG nFlags ) in ImplSalToTop() argument
1490 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplSalToTop()
1492 debug_printf("ImplSalToTop hWnd %08x, nFlags %x\n", hWnd, nFlags); in ImplSalToTop()
1497 WinQueryWindowPos( hWnd, &aSWP ); in ImplSalToTop()
1499 WinSetWindowPos( hWnd, NULL, 0, 0, 0, 0, SWP_RESTORE ); in ImplSalToTop()
1718 HWND hWnd = mhWndClient; in SetInputContext() local
1720 pIMEData->mpGetIME( hWnd, &hIMI ); in SetInputContext()
1741 pIMEData->mpReleaseIME( hWnd, hIMI ); in SetInputContext()
1764 HWND hWnd = mhWndClient; in EndExtTextInput() local
1766 pIMEData->mpGetIME( hWnd, &hIMI ); in EndExtTextInput()
1776 pIMEData->mpReleaseIME( hWnd, hIMI ); in EndExtTextInput()
2368 static long ImplHandleMouseMsg( HWND hWnd, in ImplHandleMouseMsg() argument
2376 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleMouseMsg()
2511 if( !WinIsWindow( pFrame->mhAB, hWnd ) ) in ImplHandleMouseMsg()
2543 static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, MPARAM nMP1, MPARAM nMP2 ) in ImplHandleWheelMsg() argument
2549 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleWheelMsg()
2761 static long ImplHandleKeyMsg( HWND hWnd, in ImplHandleKeyMsg() argument
2774 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleKeyMsg()
2852 static bool ImplHandlePaintMsg( HWND hWnd ) in ImplHandlePaintMsg() argument
2863 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandlePaintMsg()
2868 if ( WinQueryUpdateRect( hWnd, NULL ) ) in ImplHandlePaintMsg()
2874 hPS = WinBeginPaint( hWnd, NULLHANDLE, &aUpdateRect ); in ImplHandlePaintMsg()
2888 WinPostMsg( hWnd, SAL_MSG_POSTPAINT, (MPARAM)pRect, 0 ); in ImplHandlePaintMsg()
2901 static void ImplHandlePaintMsg2( HWND hWnd, RECTL* pRect ) in ImplHandlePaintMsg2() argument
2906 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandlePaintMsg2()
2916 WinPostMsg( hWnd, SAL_MSG_POSTPAINT, (MPARAM)pRect, 0 ); in ImplHandlePaintMsg2()
2921 static void SetMaximizedFrameGeometry( HWND hWnd, Os2SalFrame* pFrame ) in SetMaximizedFrameGeometry() argument
2939 static void UpdateFrameGeometry( HWND hWnd, Os2SalFrame* pFrame ) in UpdateFrameGeometry() argument
2978 hWnd, pFrame->mhWndFrame, in UpdateFrameGeometry()
2986 static void ImplHandleMoveMsg( HWND hWnd) in ImplHandleMoveMsg() argument
2990 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleMoveMsg()
2993 UpdateFrameGeometry( hWnd, pFrame ); in ImplHandleMoveMsg()
2995 if ( WinIsWindowVisible( hWnd )) in ImplHandleMoveMsg()
3020 WinPostMsg( hWnd, SAL_MSG_POSTMOVE, 0, 0 ); in ImplHandleMoveMsg()
3025 static void ImplHandleSizeMsg( HWND hWnd, MPARAM nMP2 ) in ImplHandleSizeMsg() argument
3027 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleSizeMsg()
3030 UpdateFrameGeometry( hWnd, pFrame ); in ImplHandleSizeMsg()
3065 static void ImplHandleCloseMsg( HWND hWnd ) in ImplHandleCloseMsg() argument
3069 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleCloseMsg()
3078 WinPostMsg( hWnd, WM_CLOSE, 0, 0 ); in ImplHandleCloseMsg()
3083 inline void ImplHandleUserEvent( HWND hWnd, MPARAM nMP2 ) in ImplHandleUserEvent() argument
3086 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleUserEvent()
3126 static void ImplHandleInputLangChange( HWND hWnd ) in ImplHandleInputLangChange() argument
3131 Os2SalFrame* pFrame = GetWindowPtr( hWnd ); in ImplHandleInputLangChange()
3135 HWND hWnd = pFrame->mhWnd; in ImplHandleInputLangChange()
3167 HWND hWnd = pFrame->mhWndClient; in ImplHandleIMEStartConversion() local
3169 pIMEData->mpGetIME( hWnd, &hIMI ); in ImplHandleIMEStartConversion()
3209 pIMEData->mpReleaseIME( hWnd, hIMI ); in ImplHandleIMEStartConversion()
3224 HWND hWnd = pFrame->mhWndClient; in ImplHandleIMEConversion() local
3227 pIMEData->mpGetIME( hWnd, &hIMI ); in ImplHandleIMEConversion()
3339 pIMEData->mpReleaseIME( hWnd, hIMI ); in ImplHandleIMEConversion()
3348 pIMEData->mpReleaseIME( hWnd, hIMI ); in ImplHandleIMEConversion()
3376 HWND hWnd = pFrame->mhWndClient; in ImplHandleIMEOpenCandidate() local
3378 pIMEData->mpGetIME( hWnd, &hIMI ); in ImplHandleIMEOpenCandidate()
3439 pIMEData->mpReleaseIME( hWnd, hIMI ); in ImplHandleIMEOpenCandidate()
3455 MRESULT EXPENTRY SalFrameWndProc( HWND hWnd, ULONG nMsg, in SalFrameWndProc() argument
3458 Os2SalFrame* pFrame = (Os2SalFrame*)GetWindowPtr( hWnd ); in SalFrameWndProc()
3465 debug_printf( "SalFrameWndProc hWnd 0x%x nMsg 0x%x\n", hWnd, nMsg); in SalFrameWndProc()
3484 bDef = !ImplHandleMouseMsg( hWnd, nMsg, nMP1, nMP2 ); in SalFrameWndProc()
3492 bDef = !ImplHandleKeyMsg( hWnd, nMsg, nMP1, nMP2 ); in SalFrameWndProc()
3501 bCheckTimers = ImplHandlePaintMsg( hWnd ); in SalFrameWndProc()
3505 ImplHandlePaintMsg2( hWnd, (RECTL*)nMP1 ); in SalFrameWndProc()
3512 ImplHandleMoveMsg( hWnd ); in SalFrameWndProc()
3519 ImplHandleSizeMsg( hWnd, nMP2 ); in SalFrameWndProc()
3523 WinPostMsg( hWnd, SAL_MSG_POSTSIZE, nMP1, nMP2 ); in SalFrameWndProc()
3526 ImplHandleSizeMsg( hWnd, nMP2 ); in SalFrameWndProc()
3532 ImplHandleSizeMsg( hWnd, MPFROM2SHORT( pswp->cx, pswp->cy) ); in SalFrameWndProc()
3536 WinPostMsg( hWnd, SAL_MSG_POSTSIZE, 0, nMP2 ); in SalFrameWndProc()
3549 WinPostMsg( hWnd, SAL_MSG_POSTFOCUS, 0, nMP2 ); in SalFrameWndProc()
3574 HWND hWndFrame = WinQueryWindow(hWnd, QW_PARENT); in SalFrameWndProc()
3581 SetWindowPtr( hWnd, pFrame ); in SalFrameWndProc()
3586 pFrame->mhWndClient = hWnd; in SalFrameWndProc()
3588 pFrame->maSysData.hWnd = hWnd; in SalFrameWndProc()
3593 ImplHandleCloseMsg( hWnd ); in SalFrameWndProc()
3609 ImplHandleUserEvent( hWnd, nMP2 ); in SalFrameWndProc()
3613 ImplSalToTop( hWnd, (ULONG)nMP1 ); in SalFrameWndProc()
3617 ImplSalShow( hWnd, (ULONG)nMP1, (ULONG)nMP2 ); in SalFrameWndProc()
3622 debug_printf("hWnd 0x%08x WM_KBDLAYERCHANGED\n", hWnd); in SalFrameWndProc()
3623 ImplHandleInputLangChange( hWnd ); in SalFrameWndProc()
3628 ImplHandleWheelMsg( hWnd, nMsg, nMP1, nMP2 ); in SalFrameWndProc()
3719 nRet = WinDefWindowProc( hWnd, nMsg, nMP1, nMP2 ); in SalFrameWndProc()
3744 MRESULT EXPENTRY SalFrameSubClassWndProc( HWND hWnd, ULONG nMsg, in SalFrameSubClassWndProc() argument
3753 mReturn = aSalShlData.mpFrameProc( hWnd, nMsg, nMP1, nMP2 ); in SalFrameSubClassWndProc()
3761 return aSalShlData.mpFrameProc( hWnd, nMsg, nMP1, nMP2 ); in SalFrameSubClassWndProc()