Changeset 499 for trunk/include/win/treeview.h
- Timestamp:
- Aug 14, 1999, 7:23:24 PM (26 years ago)
- 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:51achimha Exp $ */1 /* $Id: treeview.h,v 1.4 1999-08-14 17:23:24 achimha Exp $ */ 2 2 /* 3 3 * Treeview class extra info … … 15 15 #define TV_REFRESH_DELAY 100 /* 100 ms delay between two refreshes */ 16 16 #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 */ 18 18 19 19 … … 47 47 typedef struct tagTREEVIEW_INFO 48 48 { 49 UINT uInternalStatus; 49 UINT uInternalStatus; 50 50 UINT bAutoSize; /* merge with uInternalStatus */ 51 51 INT Timer; 52 52 UINT uNumItems; /* number of valid TREEVIEW_ITEMs */ 53 UINT uNumPtrsAlloced; 53 UINT uNumPtrsAlloced; 54 54 HTREEITEM uMaxHandle; /* needed for delete_item */ 55 55 HTREEITEM TopRootItem; /* handle to first item in treeview */ 56 56 INT cdmode; /* last custom draw setting */ 57 UINT uScrollTime; /* max. time for scrolling in milliseconds*/ 57 58 UINT uItemHeight; /* item height, -1 for default item height */ 58 59 UINT uRealItemHeight;/* current item height in pixels */ 59 60 UINT uVisibleHeight; /* visible height of treeview in pixels */ 60 61 UINT uTotalHeight; /* total height of treeview in pixels */ 61 UINT uVisibleWidth; 62 UINT uTotalWidth; 62 UINT uVisibleWidth; 63 UINT uTotalWidth; 63 64 UINT uIndent; /* indentation in pixels */ 64 65 HTREEITEM selectedItem; /* handle to selected item or 0 if none */ … … 70 71 HIMAGELIST dragList; /* Bitmap of dragged item */ 71 72 INT cx,cy; /* current x/y place in list */ 72 COLORREF clrBk; 73 COLORREF clrBk; 73 74 COLORREF clrText; 75 COLORREF clrLine; 74 76 HFONT hFont; 75 77 HFONT hBoldFont; … … 77 79 HWND hwndEdit; 78 80 WNDPROC wpEditOrig; /* needed for subclassing edit control */ 79 HIMAGELIST himlNormal; 81 HIMAGELIST himlNormal; 80 82 HIMAGELIST himlState; 81 83 LPTVSORTCB pCallBackSort; /* ptr to TVSORTCB struct for callback sorting */ … … 90 92 /* bitflags for infoPtr->uInternalStatus */ 91 93 92 #define TV_HSCROLL 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 0x2094 #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 98 100 99 101 /* bitflags for infoPtr->timer */ 100 102 101 #define TV_REFRESH_TIMER 1 103 #define TV_REFRESH_TIMER 1 102 104 #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 105 107 106 108
Note:
See TracChangeset
for help on using the changeset viewer.