获取鼠标点窗口句柄

/* The GetCursorPos function retrieves the cursor's position, in screen coordinates. */
      BOOL GetCursorPos(
                   LPPOINT &point
                    );

/* The WindowFromPoint function retrieves a handle to the window that contains the specified point. */
      HWND WindowFromPoint(
                           POINT point
                          );

/*The GetWindow function retrieves a handle to a window that has the specified relationship (Z-Order or owner) to the specified window. */
      HWND GetWindow(
                     HWND hWnd,
                     UINT    uCmd                    //通过把uCmd代码设置为GW_HWNDNEXT来获取兄弟窗口的句柄
                    );    

/*
*
* Copyright (c) 2011 Ubunoon.
* All rights reserved.
*
* email: netubu#gmail.com replace '#' to '@'
* http://www.cnblogs.com/ubunoon
* 欢迎来邮件定制各类验证码识别,条码识别,图像处理等软件
* 推荐不错的珍珠饰品,欢迎订购 * 宜臣珍珠(淡水好珍珠) */
原文地址:https://www.cnblogs.com/ubunoon/p/2058926.html