Sorry Martin, but I've been where you are (I think), and there's no info stored anywhere which you can get to, telling you what the highlight colors are.
In one of my apps (named Office VBA and VBScript editor), I finally resorted to scanning all the clips, and determining the color for a clip which was the only clip to be in that color (assuming it was the highlighted item if it was the only one in that color). I had to do this because for some reason, WE or MSAA wasn't providing me with the selected information when a selection changed, and I had to figure out what the selected item was by looking at the clip colors. It's a pretty awful way to do it, but it does work in my case. If there's any chance MSAA or anything else will tell you what's selected, it would be better. Hth, Chip > -----Original Message----- > From: martin webster [mailto:[email protected]] > Sent: Monday, July 30, 2012 2:07 PM > To: [email protected] > Subject: known highlight colors for icons and menus where are they stored? > > Hi all, > Where the known highlight colors for menus and icons actually stored?. > They are not stored in the color dictionary associated with what ever ap I am > working on because the amount of colors in that dictionary never changes. > > section from win-eyes 7.5 user manual: > When set to "auto," > which is the default, Window-Eyes attempts to read a highlight when arrow > keys, Control-Tab, or Control-Shift-Tab are pressed even if highlight colors > have not been set. If no highlight is present when these keys are pressed, > Window-Eyes reads as it would normally. > If Window-Eyes can find a highlight, it reads one of several known color > combinations which Windows uses for menus and icons. > When setting a highlight manually, where would this be stored?. > Regards. > Martin Webster. > I.T. team leader for KVIN.
