Which API's do i need to get the hWnd of the control under the cursor?
-
I'm making a program where i need the hWnd of the control that is currently under the cursor, but i'm in doubt of which API's i should use. I've tried checking around but i can't seem to find the answer. Thanks in advance
-
I'm making a program where i need the hWnd of the control that is currently under the cursor, but i'm in doubt of which API's i should use. I've tried checking around but i can't seem to find the answer. Thanks in advance
-
I'm making a program where i need the hWnd of the control that is currently under the cursor, but i'm in doubt of which API's i should use. I've tried checking around but i can't seem to find the answer. Thanks in advance
You might want search MSDN there is an old sample program on using DIBs. What the program does is allow you to move the cursor over a window a capture it to a DIB. If you search for a screen/windows capture program here or on the web you should be able to find additional examples. Trust in the code Luke. Yea right!