Ignore:
Timestamp:
Jan 26, 2000, 7:04:30 PM (26 years ago)
Author:
cbratschi
Message:

added API logging, removed progress frame

File:
1 edited

Legend:

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

    r2205 r2523  
    1 /* $Id: toolbar.c,v 1.24 1999-12-26 17:32:13 cbratschi Exp $ */
     1/* $Id: toolbar.c,v 1.25 2000-01-26 18:04:30 cbratschi Exp $ */
    22/*
    33 * Toolbar control
     
    33323332}
    33333333
    3334 /* << TOOLBAR_SetButtonInfo32W >> */
    3335 
    3336 
    33373334static LRESULT
    33383335TOOLBAR_SetButtonSize (HWND hwnd, WPARAM wParam, LPARAM lParam)
     
    41654162    RECT parent_rect;
    41664163    HWND parent;
    4167     /* INT32  x, y; */
    4168     INT  cx, cy;
     4164    INT  x,y,cx,cy;
    41694165    INT  flags;
    41704166    UINT uPosFlags = 0;
     
    41824178     */
    41834179
    4184 //    TRACE (toolbar, "sizing toolbar!\n");
     4180    //TRACE (toolbar, "sizing toolbar!\n");
    41854181
    41864182    if (flags == SIZE_RESTORED) {
     
    41884184        parent = GetParent (hwnd);
    41894185        GetClientRect(parent, &parent_rect);
     4186        x = parent_rect.left;
     4187        y = parent_rect.top;
    41904188
    41914189        if (dwStyle & CCS_NORESIZE) {
    41924190            uPosFlags |= (SWP_NOSIZE | SWP_NOMOVE);
    4193 
    41944191            /* FIXME */
    41954192/*          infoPtr->nWidth = parent_rect.right - parent_rect.left; */
     
    42164213            cy += GetSystemMetrics(SM_CYEDGE);
    42174214
    4218         SetWindowPos (hwnd, 0, parent_rect.left, parent_rect.top,
     4215        SetWindowPos (hwnd, 0, x, y,
    42194216                        cx, cy, uPosFlags | SWP_NOZORDER);
    42204217    }
Note: See TracChangeset for help on using the changeset viewer.