mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Use IntGdiSetRect instead of NtGdiSetRect.
svn path=/trunk/; revision=11740
This commit is contained in:
parent
425c131de1
commit
df6bd1fced
1 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: winpos.c,v 1.123 2004/11/20 16:46:06 weiden Exp $
|
||||
/* $Id: winpos.c,v 1.124 2004/11/21 12:14:34 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -261,7 +261,7 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos)
|
|||
RDW_NOINTERNALPAINT);
|
||||
WindowObject->Style |= WS_MINIMIZE;
|
||||
WinPosFindIconPos(WindowObject, &InternalPos->IconPos);
|
||||
NtGdiSetRect(NewPos, InternalPos->IconPos.x, InternalPos->IconPos.y,
|
||||
IntGdiSetRect(NewPos, InternalPos->IconPos.x, InternalPos->IconPos.y,
|
||||
NtUserGetSystemMetrics(SM_CXMINIMIZED),
|
||||
NtUserGetSystemMetrics(SM_CYMINIMIZED));
|
||||
SwpFlags |= SWP_NOCOPYBITS;
|
||||
|
@ -279,7 +279,7 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos)
|
|||
WindowObject->Style &= ~WS_MINIMIZE;
|
||||
}
|
||||
WindowObject->Style |= WS_MAXIMIZE;
|
||||
NtGdiSetRect(NewPos, InternalPos->MaxPos.x, InternalPos->MaxPos.y,
|
||||
IntGdiSetRect(NewPos, InternalPos->MaxPos.x, InternalPos->MaxPos.y,
|
||||
Size.x, Size.y);
|
||||
break;
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos)
|
|||
WinPosGetMinMaxInfo(WindowObject, &Size,
|
||||
&InternalPos->MaxPos, NULL, NULL);
|
||||
WindowObject->Style |= WS_MAXIMIZE;
|
||||
NtGdiSetRect(NewPos, InternalPos->MaxPos.x,
|
||||
IntGdiSetRect(NewPos, InternalPos->MaxPos.x,
|
||||
InternalPos->MaxPos.y, Size.x, Size.y);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue