Lines Matching refs:mhWnd
176 sal_Bool bVisible = (GetWindowStyle( pFrame->mhWnd ) & WS_VISIBLE) != 0; in ImplSaveFrameState()
177 if ( IsIconic( pFrame->mhWnd ) ) in ImplSaveFrameState()
183 else if ( IsZoomed( pFrame->mhWnd ) ) in ImplSaveFrameState()
193 if( GetWindowPlacement( pFrame->mhWnd, &aPlacement ) ) in ImplSaveFrameState()
197 AdjustWindowRectEx( &aRect2, GetWindowStyle( pFrame->mhWnd ), in ImplSaveFrameState()
198 FALSE, GetWindowExStyle( pFrame->mhWnd ) ); in ImplSaveFrameState()
213 GetWindowRect( pFrame->mhWnd, &aRect ); in ImplSaveFrameState()
217 AdjustWindowRectEx( &aRect2, GetWindowStyle( pFrame->mhWnd ), in ImplSaveFrameState()
218 FALSE, GetWindowExStyle( pFrame->mhWnd ) ); in ImplSaveFrameState()
835 AdjustWindowRectEx( &aWinRect, GetWindowStyle( pFrame->mhWnd ), in ImplSalAddBorder()
836 FALSE, GetWindowExStyle( pFrame->mhWnd ) ); in ImplSalAddBorder()
943 if ( bAlways || !IsIconic( pFrame->mhWnd ) ) in ImplSalFrameFullScreenPos()
951 SetWindowPos( pFrame->mhWnd, 0, in ImplSalFrameFullScreenPos()
963 mhWnd = 0; in WinSalFrame()
1076 ReleaseDC( mhWnd, mpGraphics->getHDC() ); in ~WinSalFrame()
1081 if ( mhWnd ) in ~WinSalFrame()
1084 if ( pSalData->mhWantLeaveMsg == mhWnd ) in ~WinSalFrame()
1095 if ( !DestroyWindow( mhWnd ) ) in ~WinSalFrame()
1096 SetWindowPtr( mhWnd, 0 ); in ~WinSalFrame()
1098 mhWnd = 0; in ~WinSalFrame()
1124 mpGraphics2->mhWnd = mhWnd; in GetGraphics()
1133 (WPARAM)mhWnd, 0 ); in GetGraphics()
1155 HDC hDC = GetDC( mhWnd ); in GetGraphics()
1160 mpGraphics->mhWnd = mhWnd; in GetGraphics()
1195 (WPARAM)mhWnd, in ReleaseGraphics()
1209 return (sal_Bool)ImplPostMessage( mhWnd, SAL_MSG_USEREVENT, 0, (LPARAM)pData ); in PostEvent()
1218 if ( !SetWindowTextW( mhWnd, reinterpret_cast<LPCWSTR>(rTitle.GetBuffer()) ) ) in SetTitle()
1221 SetWindowTextA( mhWnd, aAnsiTitle.GetBuffer() ); in SetTitle()
1243 ImplSendMessage( mhWnd, WM_SETICON, ICON_BIG, (LPARAM)hIcon ); in SetIcon()
1244 ImplSendMessage( mhWnd, WM_SETICON, ICON_SMALL, (LPARAM)hSmIcon ); in SetIcon()
1253 ::SetMenu( mhWnd, pWMenu->mhMenu ); in SetMenu()
1258 ::DrawMenuBar( mhWnd ); in DrawMenuBar()
1269 return static_cast<WinSalFrame*>(pRealParent->ImplGetWindowImpl()->mpFrame)->mhWnd; in ImplGetParentHwnd()
1279 return GetWindowPtr( ImplGetParentHwnd( mhWnd ) ); in GetParent()
1377 ShowWindow( pFrame->mhWnd, SW_SHOWMINNOACTIVE ); in ImplSalShow()
1405 ImplPostMessage( mhWnd, SAL_MSG_SHOW, bVisible, bNoActivate ); in Show()
1407 ImplSalShow( mhWnd, bVisible, bNoActivate ); in Show()
1414 EnableWindow( mhWnd, bEnable ); in Enable()
1436 sal_Bool bVisible = (GetWindowStyle( mhWnd ) & WS_VISIBLE) != 0; in SetPosSize()
1447 if ( IsIconic( mhWnd ) || IsZoomed( mhWnd ) ) in SetPosSize()
1448 ShowWindow( mhWnd, SW_RESTORE ); in SetPosSize()
1454 GetClientRect( mhWnd, &aClientRect ); // x,y always 0,0, but width and height without border in SetPosSize()
1455 … GetWindowRect( mhWnd, &aWindowRect ); // x,y in screen coordinates, width and height with border in SetPosSize()
1484 AdjustWindowRectEx( &aWinRect, GetWindowStyle( mhWnd ), in SetPosSize()
1485 FALSE, GetWindowExStyle( mhWnd ) ); in SetPosSize()
1489 if ( !(nPosSize & SWP_NOMOVE) && ::GetParent( mhWnd ) ) in SetPosSize()
1493 GetClientRect( ImplGetParentHwnd( mhWnd ), &aParentRect ); in SetPosSize()
1498 if( !(GetWindowStyle( mhWnd ) & WS_CHILD) ) in SetPosSize()
1504 HWND parentHwnd = ImplGetParentHwnd( mhWnd ); in SetPosSize()
1536 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in SetPosSize()
1546 HWND hWndParent = ::GetParent( mhWnd ); in SetPosSize()
1586 ImplSalGetWorkArea( mhWnd, &aRect, &aRect ); in SetPosSize()
1612 if( mhWnd == ::GetCapture() ) in SetPosSize()
1635 SetWindowPos( mhWnd, HWND_TOP, nX, nY, (int)nWidth, (int)nHeight, nPosFlags ); in SetPosSize()
1637 UpdateFrameGeometry( mhWnd, this ); in SetPosSize()
1649 HWND hWndOld = pThis->mhWnd; in ImplSetParentFrame()
1663 HWND hWndParent = ::GetParent( pFrame->mhWnd ); in ImplSetParentFrame()
1664 if( pThis->mhWnd == hWndParent ) in ImplSetParentFrame()
1673 HWND hWndParent = ::GetParent( pObject->mhWnd ); in ImplSetParentFrame()
1674 if( pThis->mhWnd == hWndParent ) in ImplSetParentFrame()
1711 ReleaseDC( pThis->mhWnd, pThis->mpGraphics->getHDC() ); in ImplSetParentFrame()
1719 (WPARAM) hWndParent, (LPARAM)pThis->mhWnd ); in ImplSetParentFrame()
1729 pThis->mpGraphics2->mhWnd = hWnd; in ImplSetParentFrame()
1767 pThis->mpGraphics->mhWnd = hWnd; in ImplSetParentFrame()
1800 ImplSetParentFrame( this, static_cast<WinSalFrame*>(pNewParent)->mhWnd, FALSE ); in SetParent()
1823 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in GetWorkArea()
1855 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in SetWindowState()
1864 GetWindowRect( mhWnd, &aWinRect ); in SetWindowState()
1869 AdjustWindowRectEx( &aRect2, GetWindowStyle( mhWnd ), in SetWindowState()
1870 FALSE, GetWindowExStyle( mhWnd ) ); in SetWindowState()
1917 GetWindowPlacement( mhWnd, &aPlacement ); in SetWindowState()
1920 sal_Bool bVisible = (GetWindowStyle( mhWnd ) & WS_VISIBLE) != 0; in SetWindowState()
1962 if ( !IsIconic( mhWnd ) && !IsZoomed( mhWnd ) && in SetWindowState()
1974 SetMaximizedFrameGeometry( mhWnd, this, &aStateRect ); in SetWindowState()
1975 SetWindowPos( mhWnd, 0, in SetWindowState()
1980 SetWindowPos( mhWnd, 0, in SetWindowState()
1993 SetWindowPlacement( mhWnd, &aPlacement ); in SetWindowState()
2063 DWORD nExStyle = GetWindowExStyle( mhWnd ); in ShowFullScreen()
2068 SetWindowExStyle( mhWnd, nExStyle ); in ShowFullScreen()
2071 GetWindowRect( mhWnd, &maFullScreenRect ); in ShowFullScreen()
2075 if ( !(GetWindowStyle( mhWnd ) & WS_VISIBLE) ) in ShowFullScreen()
2085 sal_Bool bVisible = (GetWindowStyle( mhWnd ) & WS_VISIBLE) != 0; in ShowFullScreen()
2087 ShowWindow( mhWnd, SW_HIDE ); in ShowFullScreen()
2090 SetWindowExStyle( mhWnd, GetWindowExStyle( mhWnd ) | WS_EX_TOOLWINDOW ); in ShowFullScreen()
2093 SetWindowPos( mhWnd, 0, in ShowFullScreen()
2107 ShowWindow( mhWnd, mnShowState ); in ShowFullScreen()
2109 UpdateWindow( mhWnd ); in ShowFullScreen()
2178 SetWindowPos( mhWnd, hWnd, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE ); in SetAlwaysOnTop()
2246 ImplPostMessage( mhWnd, SAL_MSG_TOTOP, nFlags, 0 ); in ToTop()
2248 ImplSalToTop( mhWnd, nFlags ); in ToTop()
2399 ImplSendMessage( mhWnd, nMsg, 0, 0 ); in CaptureMouse()
2409 ClientToScreen( mhWnd, &aPt ); in SetPointerPos()
2441 ImmAssociateContext( pFrame->mhWnd, pFrame->mhDefIMEContext ); in ImplSalFrameSetInputContext()
2457 HIMC hIMC = ImmGetContext( pFrame->mhWnd ); in ImplSalFrameSetInputContext()
2461 HDC hDC = GetDC( pFrame->mhWnd ); in ImplSalFrameSetInputContext()
2472 ReleaseDC( pFrame->mhWnd, hDC ); in ImplSalFrameSetInputContext()
2474 ImmReleaseContext( pFrame->mhWnd, hIMC ); in ImplSalFrameSetInputContext()
2484 ImmAssociateContext( pFrame->mhWnd, 0 ); in ImplSalFrameSetInputContext()
2494 ImplSendMessage( mhWnd, SAL_MSG_SETINPUTCONTEXT, 0, (LPARAM)(void*)pContext ); in SetInputContext()
2520 ImplSendMessage( mhWnd, SAL_MSG_ENDEXTTEXTINPUT, (WPARAM)nFlags, 0 ); in EndExtTextInput()
3141 GetWindowRect( mhWnd, &aRect ); in SnapShot()
3145 HDC hDC = GetWindowDC( mhWnd ); in SnapShot()
3228 SetWindowRgn( mhWnd, 0, TRUE ); in ResetClipRegion()
3319 GetWindowRect( mhWnd, &aWindowRect ); in EndSetClipRegion()
3323 ClientToScreen( mhWnd, &aPt ); in EndSetClipRegion()
3326 if( SetWindowRgn( mhWnd, hRegion, TRUE ) == 0 ) in EndSetClipRegion()
4669 InvalidateRect( pTempFrame->mhWnd, NULL, FALSE ); in ImplHandlePalette()
4670 UpdateWindow( pTempFrame->mhWnd ); in ImplHandlePalette()
5207 BOOL bMaximize = IsZoomed( pFrame->mhWnd ); in ImplHandleSysCommand()
5208 BOOL bMinimize = IsIconic( pFrame->mhWnd ); in ImplHandleSysCommand()
5351 if ( GetFocus() == pFrame->mhWnd ) in ImplUpdateIMECursorPos()
5353 CreateCaret( pFrame->mhWnd, 0, in ImplUpdateIMECursorPos()
5652 HWND hWnd = pFrame->mhWnd; in ImplHandleIMENotify()
5844 pFrame->mhWnd = hWnd; in SalFrameWndProc()