Ghastly_MIB Posted November 23, 2005 Share Posted November 23, 2005 (edited) When i'm sorting a listview, all the items losses their icons. All the items have the standard (first) icon. Edited November 23, 2005 by Ghastly_MIB Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share Posted November 23, 2005 Take a look at this threadhttp://www.autoitscript.com/forum/index.ph...indpost&p=87808 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jpm Posted November 23, 2005 Share Posted November 23, 2005 When i'm sorting a listview, all the items losses their icons.All the items have the standard (first) icon.Can you follow the recommendation for posting a bug?See at the top of this subforum.Perhaps you post to a wrong forum. Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted November 23, 2005 Author Share Posted November 23, 2005 (edited) Isn't there an other way? Edited November 23, 2005 by Ghastly_MIB Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share Posted November 23, 2005 (edited) I tried that UDF but it won't work The key thing is, is it's not a bug, you'll have to create your own sort to deal with listview with images.The example I posted there works for me. Edited November 23, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted November 23, 2005 Author Share Posted November 23, 2005 I found an other way, but thanks any way. Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share Posted November 23, 2005 (edited) Might help the users on the forum if you told how. Edited November 23, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Holger Posted November 23, 2005 Share Posted November 23, 2005 Might help the users on the forum if you told how.Yeah, would be very helpfull BTW: I'm still working on a buildin "GUICtrlListViewSortRegister(listviewID, userfunction)"-callback-function.It's not perfect at the moment but it will then call a userfunction with 3 parameters: 1st value, 2nd value and clicked-column, so everybody you could then use this callback-function.The only thing you have to do is then to return the right value (1 or -1).So you could compare the values like you want (as numbers, string, whatever)....But needs a little more time cause at the moment I'm working again on the GUIGetMsg(1/2)-extensions/GUIMsgRegister() to get more Windows-messages and so on...So long Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted November 23, 2005 Author Share Posted November 23, 2005 Sorry but it isn't realy keep the icons. I have made a script with search function. And it need a icon for a file type. I just let it search the icon again and so it's done. I'm sorry it's not a solution your looking for.. Ghastly_MIB Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share Posted November 23, 2005 Yeah, would be very helpfull BTW: I'm still working on a buildin "GUICtrlListViewSortRegister(listviewID, userfunction)"-callback-function.It's not perfect at the moment but it will then call a userfunction with 3 parameters: 1st value, 2nd value and clicked-column, so everybody you could then use this callback-function.The only thing you have to do is then to return the right value (1 or -1).So you could compare the values like you want (as numbers, string, whatever)....But needs a little more time cause at the moment I'm working again on the GUIGetMsg(1/2)-extensions/GUIMsgRegister() to get more Windows-messages and so on...So long Holger Looking forward to those, and the ControlTreeView i believe you started on SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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