登录
首页 » Windows开发 » C++编写的屏幕拾色器,拖动鼠标就可以获取屏幕任意一点的的颜色,然后给出16进制和RGB颜色值,并将值存入剪贴板;同时在拖动取色过程中适时显示鼠标位置座标、窗口...

C++编写的屏幕拾色器,拖动鼠标就可以获取屏幕任意一点的的颜色,然后给出16进制和RGB颜色值,并将值存入剪贴板;同时在拖动取色过程中适时显示鼠标位置座标、窗口...

于 2023-07-04 发布 文件大小:220.88 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

C++编写的屏幕拾色器,拖动鼠标就可以获取屏幕任意一点的的颜色,然后给出16进制和RGB颜色值,并将值存入剪贴板;同时在拖动取色过程中适时显示鼠标位置座标、窗口句柄、窗口类名以及窗口标题,因此,这个程序也可以说成是一个鼠标钩子程序,对研究C++还是有帮助的。-C++ Prepared Found color screen, and drag the mouse on the screen can be accessed at any point of the color, and then given 16 hexadecimal and RGB color value, and value into the clipboard At the same time, drag the color from the process of in a timely display coordinates of the mouse position, window handle, window class name and window title, therefore, this procedure can also be said as a mouse hook procedures, the study of C++ or helpful.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC 实现的小程序,完成最小编辑距离计算,简单易读易懂
    VC 实现的小程序,完成最小编辑距离计算,简单易读易懂-VC string match
    2022-11-05 22:50:04下载
    积分:1
  • 全角转半角, 英文字符和数字,特殊字符都可以, vc6 源码
    全角转半角, 英文字符和数字,特殊字符都可以, vc6 源码-Turn half-width full-width English characters and numbers, special characters can be, vc6 source
    2023-04-12 03:20:03下载
    积分:1
  • 监视程序的变更
    监视文件变化的程序-surveillance documents changes in the procedure
    2023-08-08 01:30:03下载
    积分:1
  • this to capture ip packet
    this to capture ip packet-this is to capture ip packet
    2022-09-17 04:00:02下载
    积分:1
  • 一个线程池的一个类,基本使用如下:
    一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void* p, char* buf, int len) void OnAccept(SOCKET socket) void OnClose(void* p) } void myIocp::OnAccept(SOCKET socket) { TSession*s = new TSession s->socket = socket //here you can do something about connecti
    2022-07-17 05:14:52下载
    积分:1
  • 重新启动计算机程序
    重新启动计算机程序-restart computer program
    2023-03-24 02:15:03下载
    积分:1
  • Two
    双向缓冲,读入数据,写出数据,内存的操作-Two-way buffer, read data, write data, memory operation
    2022-03-22 07:43:36下载
    积分:1
  • QT pictrans compiled using QT graphical example can be picture has brought about...
    用QT编译的pictrans图形示例,可以给图片带来透明度,可以看到底图
    2022-11-20 23:35:03下载
    积分:1
  • webbroser 导航错误、屏蔽弹出页封装
    windows  wpf/win form下 webbrowser 控件扩展,扩展封装了如404,503等错误事件处理、同时还封装了页面弹出窗口(a标签target=blank打开方式等)的拦截,实现屏蔽弹出窗口。
    2022-04-12 08:48:36下载
    积分:1
  • A visual c++ example
    一个关于visual c++的例子-A visual c++ example
    2022-04-20 08:15:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载