Lines Matching refs:hwnd
779 static BOOL ScreenToClientRect( HWND hwnd, LPRECT lprc ) in ScreenToClientRect() argument
781 …return ScreenToClient( hwnd, (LPPOINT)&lprc->left ) && ScreenToClient( hwnd, (LPPOINT)&lprc->right… in ScreenToClientRect()
784 static BOOL SetWindowRect( HWND hwnd, const RECT *lprc, BOOL fRepaint ) in SetWindowRect() argument
786 …return MoveWindow( hwnd, lprc->left, lprc->top, lprc->right - lprc->left, lprc->bottom - lprc->top… in SetWindowRect()
794 static BOOL SetGrowMode( HWND hwnd, DWORD dwGrowMode ) in SetGrowMode() argument
796 return SetProp( hwnd, TEXT("GrowMode"), (HANDLE)dwGrowMode ); in SetGrowMode()
799 static DWORD GetGrowMode( HWND hwnd ) in GetGrowMode() argument
801 return (DWORD)GetProp( hwnd, TEXT("GrowMode") ); in GetGrowMode()
804 static BOOL GrowWindow( HWND hwnd, LONG dxClient, LONG dyClient, BOOL fRepaint ) in GrowWindow() argument
806 DWORD dwGrowMode = GetGrowMode( hwnd ); in GrowWindow()
809 GetWindowRect( hwnd, &rc ); in GrowWindow()
820 ScreenToClientRect( GetParent( hwnd ), &rc ); in GrowWindow()
821 SetWindowRect( hwnd, &rc, fRepaint ); in GrowWindow()
827 HWND hwnd, // handle to child window in GrowChildWindows() argument
834 GrowWindow( hwnd, cx, cy, TRUE ); in GrowChildWindows()