Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WindowFromPoint can't find window

Status
Not open for further replies.

dc2000

Programmer
Jun 7, 2005
48
US
Hi guys:


How come WindowFromPoint API can't recognize a window with WS_EX_TRANSPARENT and WS_EX_LAYERED styles?

If it is made by design how to bypass it to receive a handle of such window from a point on the screen?

Thanks in advance
 
Try this approach:
MSDN said:
Remarks
The WindowFromPoint function does not retrieve a handle to a hidden or disabled window, even if the point is within the window. An application should use the ChildWindowFromPoint function for a nonrestrictive search.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top