I want to get the HWND for a given control. I'm using Active Accessibility API to traverse the control hierarchy for a given window. If I call WindowFromAccessibleObject when I find the control I want, it returns a HWND to the window itself and not the control. I think this is because it is using the parent IAccessible pointer and not the VARIANT pointer to the child control. Is there a way to get the HWND from VARIANT pointer? Thanks.