Page 1 of 1

get treeview items text color from another applications

Posted: Sun Aug 26, 2012 12:54 am
by ehowington
How to gather from a separate applications not coding in purebasic at all but get the items within the treeview and get the items text color and if bold?

Re: get treeview items text color from another applications

Posted: Sun Aug 26, 2012 2:30 am
by IdeasVacuum
Not sure how to collect that info. You will probably need to get the font used in order to know if it is bold or not. Getting the items (text) is tricky as well since some branches may be collapsed and others not. Finally, the app may be using Windows widgets/gadgets etc, but it may not be - it could be using owner-drawn, depends mostly on the programming language used to develop it.

If you are targeting a specific app, then you can find out a lot about it first - most interesting would be how it stores the tree data, since if something like an XML file is used you might be able to read the info you require directly from that file.

Re: get treeview items text color from another applications

Posted: Mon Aug 27, 2012 12:23 am
by ehowington
well im using autoit which supports a great deal but I need more direct commands to a targeted tree which three main headers and chidren mostly text colors for the children and if bold