rysiora Posted December 10, 2005 Share Posted December 10, 2005 How move items in ListView control? I mean real moving, not delete and create new in other place.... And how use this variables from include/GuiListView.au3 : Const $LVM_DELETEALLITEMS = 0x1009 GUICtrlSendMsg($listview, $LVM_DELETEALLITEMS, 0, 0) ^^ This one works. But how about for example: $LVM_SETITEMPOSITION ? $LVNI_SELECTED / $LVIS_SELECTED ? And sorting - it isn't possible to have normal, standard windows-like sorting? only those lame methods from UDF (DeleteAll + AddItem) ? Link to comment Share on other sites More sharing options...
GaryFrost Posted December 10, 2005 Share Posted December 10, 2005 How move items in ListView control? I mean real moving, not delete and create new in other place....And how use this variables from include/GuiListView.au3 :Const $LVM_DELETEALLITEMS = 0x1009GUICtrlSendMsg($listview, $LVM_DELETEALLITEMS, 0, 0)^^ This one works. But how about for example:$LVM_SETITEMPOSITION ?$LVNI_SELECTED / $LVIS_SELECTED ?And sorting - it isn't possible to have normal, standard windows-like sorting?only those lame methods from UDF (DeleteAll + AddItem) ? LVM_SETITEMPOSITION Message Moves an item to a specified position in a list-view control (must be in icon or small icon view). Is something me and Holger were messing around with a while backThe LAME methods from the UDF are currently the only way without the ability of callback (Which to my knowledge Holger has been working on that for listview also.)Now if you can come up with a better than the LAME method, I'll be glad to replace the one in the UDFsGary 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...
rysiora Posted December 10, 2005 Author Share Posted December 10, 2005 I suspected, that the UDF functions are the only method, so there is no choice. But you can't say, that these functions are Pro. Link to comment Share on other sites More sharing options...
GaryFrost Posted December 10, 2005 Share Posted December 10, 2005 I suspected, that the UDF functions are the only method, so there is no choice.But you can't say, that these functions are Pro. Pro or not, User Defined Functions are just that, a work around or a method to get something done, that is done quite often. 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...
seandisanti Posted December 10, 2005 Share Posted December 10, 2005 How move items in ListView control? I mean real moving, not delete and create new in other place....And how use this variables from include/GuiListView.au3 :Const $LVM_DELETEALLITEMS = 0x1009GUICtrlSendMsg($listview, $LVM_DELETEALLITEMS, 0, 0)^^ This one works. But how about for example:$LVM_SETITEMPOSITION ?$LVNI_SELECTED / $LVIS_SELECTED ?And sorting - it isn't possible to have normal, standard windows-like sorting?only those lame methods from UDF (DeleteAll + AddItem) ?the methods in the UDF work, and they're currently the way to do things, offering a level of abstraction you'd beg for if they didn't exist. If you have a better way to make them, i say go for it, but i would strongly discourage making negative comments about someone else's work, especially when it's not constructive in any way. Link to comment Share on other sites More sharing options...
rysiora Posted December 11, 2005 Author Share Posted December 11, 2005 (edited) Function Reference says:Sorting the list by clicking the column name (as in Explorer) is not currently implemented.Do sth with this?How select an item in ListView?^^ tell me how do this, maybe with GUICtrlSendMsg() Edited December 11, 2005 by rysiora 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