登录
首页 » 其他 » VC++透明窗口效果的电子标尺源代码

VC++透明窗口效果的电子标尺源代码

于 2022-03-01 发布 文件大小:48.14 kB
0 171
下载积分: 2 下载次数: 1

代码说明:

VC++透明窗口效果的电子标尺源代码   屏幕测量类:   CMeasure : public CWnd测量基类   方法:    //创建透明窗口,做公共初始化    CreateMeasure(虚拟)    //以当前鼠标点为基准输出信息    virtual void CMeasure::ExportInfo(CString str, CDC *pDC, CPoint point)    //消息处理函数    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);    afx_msg void OnLButtonUp(UINT nFlags, CPoint point);    afx_msg void OnMouseMove(UINT nFlags, CPoint point);    //按下左键时绘图,空    virtual void DrawLButtonDown(UINT nFlags, CPoint point);    //移动鼠标时绘图,绘制十字定位线    virtual void DrawMouseMove(UINT nFlags, CPoint point);   属性:    CDC m_dcMem;保存临时背景供恢复用    CWnd* m_pWndParent;父窗口指针    int m_nScreenWidth;屏幕参数    int m_nScreenHeight;    CPen m_Pen;用于绘图的笔    COLORREF m_colorFont; 用于记录绘图时的元素颜色    COLORREF m_colorTag;    COLORREF m_colorLine;   CMeasureLine : public CMeasure测量两点直线的类   方法:    CreateMeasure(虚拟)    virtual void DrawLButtonDown(UINT nFlags, CPoint point);    virtual void DrawMouseMove(UINT nFlags, CPoint point);   属性:    BOOL m_bSecond;是否是已点击一次

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

发表评论

0 个回复

  • EPSON 打印机的列表功能 C 语言源代码
    EPSON 打印机的列表功能 C 语言源代码-EPSON printer features a list of C language source code
    2023-03-20 18:45:03下载
    积分:1
  • 投诉表单,用ASPVB编写的,附加在动易上
    投诉表单,用ASPVB编写的,附加在动易上-tou su biao dan
    2022-02-03 16:44:47下载
    积分:1
  • 演示把几个文件打包成一个文件并且释放
    演示把几个文件打包成一个文件并且释放-demo packages combine several documents into one document and release
    2023-02-04 09:30:04下载
    积分:1
  • will automatically delete the directory of debug
    will automatically delete the directory of debug
    2022-08-08 18:47:59下载
    积分:1
  • 有大量的源程序,简单易懂。虽然比较简单,但是也涵盖了c语言的精华。...
    有大量的源程序,简单易懂。虽然比较简单,但是也涵盖了c语言的精华。-A large number of source code, easy to understand. Although relatively simple, but it also covers the essence of the c language.
    2022-02-03 18:19:02下载
    积分:1
  • 易语言 文件完整性检测程序! 利用取文件特征的方法
    易语言 文件完整性检测程序! 利用取文件特征的方法-Yi language file integrity of the testing process! Characteristics of the method used to take the file .....
    2023-07-24 01:35:06下载
    积分:1
  • The code assumes a two
    The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region first. (If you want a different corner, that should be a fairly simple tweak to the code, but for now you ll have to make that tweak yourself.) I have attempted to provide copious comments in the code and hope that a knowledgeable C programmer can quickly map the approach as described in the paper to what is in the program.
    2022-04-19 22:19:25下载
    积分:1
  • 国外VB游戏源码 打篮球小游戏
    国外VB达人开发的VB6.0游戏程序源代码,打篮球小游戏,貌似有意思啊,只可惜代码里的注释也是英文的,本人English很菜的,看不懂,留给高手看吧。嘿嘿,游戏界面如下图所示,编写一些VB小游戏,有参考价值,游戏的开发一般涉及到比较综合的VB编程技巧,因此初学者可多学习一些游戏程序的源码哦。
    2022-08-06 22:36:36下载
    积分:1
  • Can choose the Chinese version of the electronic design interface automatically...
    可以选择中文版操作界面的电子设计自动...书中介绍如何用HQL编写Hibernate查询,如何结合使用Hibernate和基于Java的Criteria与Example。同时还详细介绍Hibernate的映射-Can choose the Chinese version of the electronic design interface automatically ... the book describes how to use Hibernate prepared HQL query, how to combine the use of Hibernate and Java-based Criteria and Example. At the same time, also gave details of Hibernate mapping
    2022-09-16 10:45:03下载
    积分:1
  • 经典数独游戏,本人做了一些改进。功能更强大!
    经典数独游戏,本人做了一些改进。功能更强大!-shudu powerful and special~
    2022-04-18 05:25:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载