Ignore:
Timestamp:
Sep 2, 2000, 10:30:11 AM (25 years ago)
Author:
sandervl
Message:

Commented out winzip button change in BeginPaint (fixes repaint problems) + implemented IsZoomed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/window.cpp

    r3942 r4147  
    1 /* $Id: window.cpp,v 1.72 2000-08-02 20:18:25 bird Exp $ */
     1/* $Id: window.cpp,v 1.73 2000-09-02 08:30:11 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    707707BOOL WIN32API IsZoomed(HWND hwnd)
    708708{
    709     dprintf(("USER32:  IsZoomed\n"));
    710     return O32_IsZoomed(Win32BaseWindow::Win32ToOS2Handle(hwnd));
     709 DWORD style;
     710
     711    style = GetWindowLongA(hwnd, GWL_STYLE);
     712    dprintf(("USER32: IsZoomed %x returned %d", hwnd, ((style & WS_MAXIMIZE) != 0)));
     713
     714    return (style & WS_MAXIMIZE) != 0;
    711715}
    712716//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.