zoukankan      html  css  js  c++  java
  • 获取鼠标点窗口句柄

    /* 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
    * 欢迎来邮件定制各类验证码识别,条码识别,图像处理等软件
    * 推荐不错的珍珠饰品,欢迎订购 * 宜臣珍珠(淡水好珍珠) */
  • 相关阅读:
    策略模式
    模板方法模式

    kafka
    Linux下部署MongoDB
    Linux下安装ssdb
    ssdb常用知识点
    Eclipse 的 Java Web 项目环境搭建
    PLSQL连接Oracle
    redis书籍
  • 原文地址:https://www.cnblogs.com/ubunoon/p/2058926.html
Copyright © 2011-2022 走看看