devilyn Posted December 18, 2010 Share Posted December 18, 2010 is it possible to change Listview default drag icon (plus sign in a square) & Treeview default expand and collapse icons to my own ico/png files? thanks in advance. Link to comment Share on other sites More sharing options...
rover Posted December 18, 2010 Share Posted December 18, 2010 is it possible to change Listview default drag icon (plus sign in a square) & Treeview default expand and collapse icons to my own ico/png files? thanks in advance. It's a hack and a workaround, but you can replace the "plus box" icon in your "Compiled" script using Resource Hacker or other utility of your choice. change this icon in your script exe: Icon Group 169 it will change that icon for any control that uses it in your script, if it breaks anything, your on your own don't compile your script with UPX. edit the resource then manually compress with UPX etc. TTBOMK, it's probably hardcoded for the control to use that resource, but, there may be a programatic method to do this. as for the treeview, you might be able to do that using customdraw or ownerdraw. search CodeProject and other sites for examples see attached image I see fascists... Link to comment Share on other sites More sharing options...
devilyn Posted December 18, 2010 Author Share Posted December 18, 2010 Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now