JohnBailey Posted August 23, 2007 Share Posted August 23, 2007 This is sort of like being able to color a "cell" in the listview. How do I do that. I can find out how to color a row in a listview, but I cant' even find how to color a column let alone a "cell." A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted August 23, 2007 Share Posted August 23, 2007 (edited) I think this can be done only with ownerdrawn listview. Search "ownerdraw" on forum for more info.EDIT:But there are example AU3 scripts for posibility to setup icon for any column in listview (not only for first one) Edited August 23, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted August 24, 2007 Author Share Posted August 24, 2007 I'll search through the forums for that and post my findings here. thanks! A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted August 24, 2007 Author Share Posted August 24, 2007 I cannot find anything (no example scripts) of ownerdraw in forums.I don't really understand what you meant byBut there are example AU3 scripts for posibility to setup icon for any column in listview (not only for first one) A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted August 24, 2007 Share Posted August 24, 2007 I cannot find anything (no example scripts) of ownerdraw in forums.I don't really understand what you meant byownerdraw is complicated, so instead of coloring some column item you could only set icon for that column item Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted August 24, 2007 Author Share Posted August 24, 2007 I'm testing the AL3ListView class - using _ListView_SetItemImage() - but I'm getting "Error - _Mem_CtrlInit: Invalid window handle [0x00000000A]" Or is that not what you're talking about either. btw, do you have any ideas on where I could start researching ownerdraw? I can only imagine that it's way beyond me, but I'd like to push myself to my limits and see what happens. A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted August 24, 2007 Share Posted August 24, 2007 I'm testing the AL3ListView class - using _ListView_SetItemImage() - but I'm getting "Error - _Mem_CtrlInit: Invalid window handle [0x00000000A]" Or is that not what you're talking about either. btw, do you have any ideas on where I could start researching ownerdraw? I can only imagine that it's way beyond me, but I'd like to push myself to my limits and see what happens. Look here Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted August 27, 2007 Author Share Posted August 27, 2007 Look hereI found the example in the Help File. Wow, that is complicated. I want to learn it though. It seems to be very powerful in general. Furthermore, what I'm working on right now, actually seems to require this ownerdrawn method. It's going to take some time to figure it out for LVs, but I think in doing so I'll learn about the general Ownerdrawn method. A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted August 28, 2007 Author Share Posted August 28, 2007 (edited) Is it possible to get the "ctrl" of a single column item? If so, then this all could actually be pretty easy with the example file! Edited August 28, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted November 8, 2007 Author Share Posted November 8, 2007 Is it possible to get the "ctrl" of a single column item? If so, then this all could actually be pretty easy with the example file! bump A decision is a powerful thing Link to comment Share on other sites More sharing options...
therks Posted November 12, 2007 Share Posted November 12, 2007 No, it's not a separate control as far as I know. The main listview, the listview's header, and the listview's rows are separate controls, but not the individual cells (or columns within a row). My AutoIt Stuff | My Github 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