WindowFromPoint()
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I'm trying to convert this VB line
Dim hWndp As Long hWndp = WindowFromPoint(Pt.X - 5, Pt.Y - 5)
into C++... any help please? Thanks, Mike -
I'm trying to convert this VB line
Dim hWndp As Long hWndp = WindowFromPoint(Pt.X - 5, Pt.Y - 5)
into C++... any help please? Thanks, MikePOINT Pt; // assume this is filled in...
HWND hWndp;
POINT Pt2 = Pt;Pt2.x -= 5;
Pt2.y -= 5;hWndp = WindowFromPoint ( Pt2 );
--Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.