devilyn Posted July 3, 2009 Share Posted July 3, 2009 Hello all, i looking for a way to add check boxes to my listview on a different column (not index 0). Thanks in advance Lior. Link to comment Share on other sites More sharing options...
rover Posted July 5, 2009 Share Posted July 5, 2009 Hello all,i looking for a way to add check boxes to my listview on a different column (not index 0).Thanks in advanceLior.not without customdrawing or ownerdrawing the listview with DrawFrameControllike checkboxes, SetItemStateImage only sets first column state imagemaybe use an imagelist with clear and checked checkbox iconsand detect subitem clicks to toggle icon state and check imagelist icon index used or set lparam of listview item to a value you could check toggle state of item.(can't do that if using GUICtrlCreateListViewItem as AutoIt uses lparam of item to track listview items as faux controls, must use UDF listview Add/Insert item functions)I don't have an example at hand, and haven't reviewed listview code to see if this is feasible.check goggle or codeproject etcsearch for LVS_EX_CHECKBOXES + subitemgood luck I see fascists... 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