JerryD Posted March 23, 2006 Share Posted March 23, 2006 I posed this question in the Support forum, and it was suggested I post the question here and that Holger might have the answer. I've also attached the test code I have so far, and it works fine. I want the checkboxes in the Installed Updates list to be disabled unless a hotkey is hit in which case checking the box would uninstall the hotfix. I've tried several methods, and at the moment have 'disabled' the checkboxes by unchecking them if they're checked, but I'm not very happy with that solution. I can live with it, but would rather disable them. Jerry ListViewProblem.au3ListViewProblemVars.au3 Link to comment Share on other sites More sharing options...
tonedeaf Posted March 23, 2006 Share Posted March 23, 2006 If there's a solution to do that in AutoIt, I would be very interested.BTW: Microsoft says that its not easy: http://groups.google.co.in/group/microsoft...13409f631f11bbb Link to comment Share on other sites More sharing options...
Holger Posted March 23, 2006 Share Posted March 23, 2006 I think a real disabled listview item could be possible with an ownerdrawn listview. But thats too much for me right now. For short I can tell you that there is the possibility to draw it like disabled. Some month ago I wrote something like a tristate treeview - which you know from the most installers. There I use a "state image list" - so there are more states possible - but maybe only for selfcreated items cause I think if you use GUI_DISABLE and GUI_CHECKED on a listview item you can get only the state GUI_CHECKED back - also if you use GUI_DISABLE. I will take a look the next days how it can be simplified. Greets 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...
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