Changeset 3520 for trunk/src


Ignore:
Timestamp:
May 10, 2000, 9:50:33 PM (25 years ago)
Author:
cbratschi
Message:

treeview item height fix

Location:
trunk/src/comctl32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/listview.cpp

    r3420 r3520  
    1 /*$Id: listview.cpp,v 1.17 2000-04-18 16:02:37 cbratschi Exp $*/
     1/*$Id: listview.cpp,v 1.18 2000-05-10 19:50:32 cbratschi Exp $*/
    22/*
    33 * Listview control
     
    1212 *
    1313 * TODO:
     14 *   - mouse selection
     15 *   - DrawText with end ellipsis
    1416 *   - Hot item handling.
    1517 *   - rcView and origin (need testcase!!!)
  • trunk/src/comctl32/treeview.cpp

    r3415 r3520  
    1 /* $Id: treeview.cpp,v 1.12 2000-04-17 17:04:14 cbratschi Exp $ */
     1/* $Id: treeview.cpp,v 1.13 2000-05-10 19:50:33 cbratschi Exp $ */
    22/* Treeview control
    33 *
     
    13751375    TREEVIEW_HideInfoTip(hwnd,infoPtr);
    13761376    itemHeight = 0;
    1377     ImageList_GetIconSize (infoPtr->himlNormal, &x, &itemHeight);
    1378     itemHeight = MAX(infoPtr->uItemHeight,itemHeight);
     1377    ImageList_GetIconSize(infoPtr->himlNormal,&x,&itemHeight);
     1378    if (infoPtr->uItemHeight != -1) itemHeight = MAX(infoPtr->uItemHeight,itemHeight);
    13791379
    13801380    if (!hdc)
Note: See TracChangeset for help on using the changeset viewer.