1. Win32Lib hacks
- Posted by Euman <euman at bellsouth.net> Apr 03, 2001
- 428 views
Minor Hacks to get treeview and listview without icons and eliminates space for the icon (indention of first LV) These should be optional and could be coded in easily by adding another 'int' to evaluate whether you wanted to add the icons or not.....I'll leave that to you to decide. setImageList is the Key In treeview you are required to eliminate the createEx(ImageList but not in Listview...... Here it is: lines 6576 & 77 *in stripped win32lib 55.1 (not the FULL)* REM these lines (Covers ListViews) --setImageList(id,ILlarge,LVSIL_NORMAL) --setImageList(id,ILsmall,LVSIL_SMALL) REM these lines 6591,2,3,4 & 6 (Covers TreeViews) --ILlarge=createEx(ImageList,"",0,0,0,SM_CXICON,0, --ILC_COLOR8,0) --ILsmall=createEx(ImageList,"",0,0,0,SM_CXSMICON,0, --ILC_COLOR8,0) --setImageList(id,ILsmall,TVSIL_NORMAL) More Hacks to Win32Lib to follow. Euman