IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> UI spy and delphi (msn)
nfsx
post Oct 4 2009, 07:16 PM
Post #1


Mess.bean
*

Group: Members
Posts: 1
Joined: 4-October 09
Member No.: 43,360



Hey!


I can see everything there is every editbox in UI spy and stuff but with Win spy i only see directUiHwnd why is that.
How can i get a valid handle of a personal message editbox without the API or any other 3rdparty component.
Go to the top of the page
 
+Quote Post
TheSteve
post Oct 7 2009, 09:51 AM
Post #2


The Man from Japan
******

Group: Members
Posts: 693
Joined: 9-June 05
From: Fukuoka Japan
Member No.: 9,636



QUOTE (nfsx @ Oct 5 2009, 04:16 AM) *
i only see directUiHwnd why is that.

This is because as far as real windows (with handles) go, DirectUIHWND is all that is there. UISpy however isn't looking at just the windows, it using Microsoft UI Automation (accessibility) APIs

QUOTE (nfsx @ Oct 5 2009, 04:16 AM) *
How can i get a valid handle of a personal message editbox without the API or any other 3rdparty component.

The the handle to the DirectUIHWND classed window is the handle to the personal message edit box. Because the edit box is a windowless control, there is no handle for just the edit box. You use the AccessibleObjectFromWindow function to retrieve the IAccessible object for the DirectUIHWND and from there use the AccessibleChildren function find the children.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 17th August 2018 - 09:20 AM
2004-2008 Seb Skuse, mess.be.
MessForum v6.1.4 - created for, and for use only by mess.be.