Ignore:
Timestamp:
Aug 14, 1999, 7:23:24 PM (26 years ago)
Author:
achimha
Message:

headers for comctl32 updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/treeview.h

    r94 r499  
    1 /* $Id: treeview.h,v 1.3 1999-06-10 16:21:51 achimha Exp $ */
     1/* $Id: treeview.h,v 1.4 1999-08-14 17:23:24 achimha Exp $ */
    22/*
    33 * Treeview class extra info
     
    1515#define TV_REFRESH_DELAY 100     /* 100 ms delay between two refreshes */
    1616#define TV_DEFAULTITEMHEIGHT 16
    17 #define TVITEM_ALLOC    16      /* default nr of items to allocate at first try */
     17#define TVITEM_ALLOC    16      /* default nr of items to allocate at first try */
    1818
    1919
     
    4747typedef struct tagTREEVIEW_INFO
    4848{
    49   UINT          uInternalStatus;   
     49  UINT          uInternalStatus;
    5050  UINT          bAutoSize;      /* merge with uInternalStatus */
    5151  INT           Timer;
    5252  UINT          uNumItems;      /* number of valid TREEVIEW_ITEMs */
    53   UINT          uNumPtrsAlloced; 
     53  UINT          uNumPtrsAlloced;
    5454  HTREEITEM     uMaxHandle;     /* needed for delete_item */
    5555  HTREEITEM     TopRootItem;    /* handle to first item in treeview */
    5656  INT           cdmode;         /* last custom draw setting */
     57  UINT          uScrollTime;    /* max. time for scrolling in milliseconds*/
    5758  UINT          uItemHeight;    /* item height, -1 for default item height */
    5859  UINT          uRealItemHeight;/* current item height in pixels */
    5960  UINT          uVisibleHeight; /* visible height of treeview in pixels */
    6061  UINT          uTotalHeight;   /* total height of treeview in pixels */
    61   UINT          uVisibleWidth;     
    62   UINT          uTotalWidth; 
     62  UINT          uVisibleWidth;
     63  UINT          uTotalWidth;
    6364  UINT          uIndent;        /* indentation in pixels */
    6465  HTREEITEM     selectedItem;   /* handle to selected item or 0 if none */
     
    7071  HIMAGELIST    dragList;       /* Bitmap of dragged item */
    7172  INT           cx,cy;          /* current x/y place in list */
    72   COLORREF      clrBk;   
     73  COLORREF      clrBk;
    7374  COLORREF      clrText;
     75  COLORREF      clrLine;
    7476  HFONT         hFont;
    7577  HFONT         hBoldFont;
     
    7779  HWND          hwndEdit;
    7880  WNDPROC       wpEditOrig;     /* needed for subclassing edit control */
    79   HIMAGELIST    himlNormal; 
     81  HIMAGELIST    himlNormal;
    8082  HIMAGELIST    himlState;
    8183  LPTVSORTCB    pCallBackSort; /* ptr to TVSORTCB struct for callback sorting */
     
    9092/* bitflags for infoPtr->uInternalStatus */
    9193
    92 #define TV_HSCROLL      0x01    /* treeview too large to fit in window */
    93 #define TV_VSCROLL      0x02    /* (horizontal/vertical) */
    94 #define TV_LDRAG                0x04    /* Lbutton pushed to start drag */
    95 #define TV_LDRAGGING    0x08    /* Lbutton pushed, mouse moved.  */
    96 #define TV_RDRAG                0x10    /* dito Rbutton */
    97 #define TV_RDRAGGING    0x20   
     94#define TV_HSCROLL      0x01    /* treeview too large to fit in window */
     95#define TV_VSCROLL      0x02    /* (horizontal/vertical) */
     96#define TV_LDRAG                0x04    /* Lbutton pushed to start drag */
     97#define TV_LDRAGGING    0x08    /* Lbutton pushed, mouse moved.  */
     98#define TV_RDRAG                0x10    /* dito Rbutton */
     99#define TV_RDRAGGING    0x20
    98100
    99101/* bitflags for infoPtr->timer */
    100102
    101 #define TV_REFRESH_TIMER 1     
     103#define TV_REFRESH_TIMER 1
    102104#define TV_EDIT_TIMER    2
    103 #define TV_REFRESH_TIMER_SET 1 
    104 #define TV_EDIT_TIMER_SET 2 
     105#define TV_REFRESH_TIMER_SET 1
     106#define TV_EDIT_TIMER_SET 2
    105107
    106108
Note: See TracChangeset for help on using the changeset viewer.