Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Like accexplorer tool draw a highlight rectangle I am also trying to do the same but just show dialog instead for test.But on my machine it works win7 64bit; but fails on win8.1 wrong location ..But accexplorer is able to draw the rectangle perfectly...

I am using IAccessible::acclocation to get coordinates and the do screentoclient to show a child dialog at that location....But this is not accurate on the other machine.The other machine has different resolution etc

Please tell me how accexplorer draw the rectangle perfectly i.e calculates coordinates etc ..I have used spy++ which shows that accexplorer also draws rectangle by drawing thin windows bars
Posted
Updated 28-Oct-14 2:34am
v3
Comments
Richard MacCutchan 28-Oct-14 10:06am    
Where are you trying to draw this rectangle?
Rajesh Katalkar 30-Oct-14 1:05am    
top,left of document
Richard MacCutchan 30-Oct-14 4:20am    
Is that supposed to be a technical description?
Rajesh Katalkar 30-Oct-14 8:21am    
I am finding chrome main window handle and getting its accessible object...
Then enumerating it to find the loaded webpage document.I want to draw a window starting the top left corner of that webpage document.
Richard MacCutchan 30-Oct-14 10:01am    
Then you need to find that document's window handle, then you can find its location and draw your rectangle.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900