Changeset 8526 for trunk/src


Ignore:
Timestamp:
May 29, 2002, 8:49:49 PM (23 years ago)
Author:
sandervl
Message:

PF: Status control fix for resize with CCS_NORESIZE style (invalidate control to prevent leftovers of size grip)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/status.c

    r8522 r8526  
    10511051        return FALSE;
    10521052    }
     1053#ifdef __WIN32OS2__
     1054    if (GetWindowLongW(infoPtr->Self, GWL_STYLE) & CCS_NORESIZE) {
     1055        //@@PF At least do invalidate to erase garbage
     1056        InvalidateRect(infoPtr->Self,NULL,TRUE);
     1057        return FALSE;
     1058    }
     1059#else
    10531060    if (GetWindowLongW(infoPtr->Self, GWL_STYLE) & CCS_NORESIZE) return FALSE;
    1054    
     1061#endif
     1062
    10551063    /* width and height don't apply */
    10561064    GetClientRect (GetParent(infoPtr->Self), &parent_rect);
Note: See TracChangeset for help on using the changeset viewer.