文件名称:智能ABC窗口
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:15.56kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
高级顶层窗口是一种无标题栏、菜单、工具条的一种常居顶层的窗口,最常见的例子就是输入法窗口,比如智能ABC窗口。这类窗口的特点除了上边所说的,最重要的就是窗口移动。普通窗口移动是通过标题栏由系统自动实现的,对于这类窗口就无法依靠系统了,需要手工实现。实现的方法有两种:
手工处理WM_MOVE、WM_LBUTTONUP消息,并根据鼠标的移动自己实现窗口移动过程中的绘制;
在WM_MOVE消息处理函数中通过向自己发送参数wParam为HTCAPTION lParam为鼠标位置的WM_NCLBUTTONDOWN消息实现窗口移动,此时窗口移动过程的绘制由系统实现。
显然,后者较前者简单。本文采用后者。-top window is a non-title bar, menus, tools of a regular Habitat top of the window, the most common example is the input window, such as smart window ABC. This window features in addition to the upside, the most important thing is moving the window. General Mobile through the window title bar automatically by the system for such window will not be able to rely on the system, and will need to achieve manually. Implementation of two ways : manual processing WM_MOVE, WM_LBUTTONUP news, and in accordance with the movement of the mouse to achieve their mobile window in the process of drawing; In WM_MOVE message processing function to send itself through the parameters wParam HTCAPTION lParam for the mouse to position the news WM_NCLBUTTONDOWN windows Mobile to achieve at this time window moving
手工处理WM_MOVE、WM_LBUTTONUP消息,并根据鼠标的移动自己实现窗口移动过程中的绘制;
在WM_MOVE消息处理函数中通过向自己发送参数wParam为HTCAPTION lParam为鼠标位置的WM_NCLBUTTONDOWN消息实现窗口移动,此时窗口移动过程的绘制由系统实现。
显然,后者较前者简单。本文采用后者。-top window is a non-title bar, menus, tools of a regular Habitat top of the window, the most common example is the input window, such as smart window ABC. This window features in addition to the upside, the most important thing is moving the window. General Mobile through the window title bar automatically by the system for such window will not be able to rely on the system, and will need to achieve manually. Implementation of two ways : manual processing WM_MOVE, WM_LBUTTONUP news, and in accordance with the movement of the mouse to achieve their mobile window in the process of drawing; In WM_MOVE message processing function to send itself through the parameters wParam HTCAPTION lParam for the mouse to position the news WM_NCLBUTTONDOWN windows Mobile to achieve at this time window moving
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TopWnd/bitmap1.bmp
TopWnd/bitmap10.bmp
TopWnd/bitmap2.bmp
TopWnd/bitmap3.bmp
TopWnd/bitmap4.bmp
TopWnd/bitmap5.bmp
TopWnd/bitmap6.bmp
TopWnd/bitmap7.bmp
TopWnd/bitmap8.bmp
TopWnd/bitmap9.bmp
TopWnd/MainWnd.cpp
TopWnd/MainWnd.h
TopWnd/ReadMe.txt
TopWnd/res/4WAY02.CUR
TopWnd/res/animat6.ico
TopWnd/res/TopWnd.manifest
TopWnd/res/TopWnd.rc2
TopWnd/res
TopWnd/resource.h
TopWnd/stdafx.cpp
TopWnd/stdafx.h
TopWnd/TopWnd.cpp
TopWnd/TopWnd.h
TopWnd/TopWnd.rc
TopWnd/TopWnd.sln
TopWnd/TopWnd.suo
TopWnd/TopWnd.vcproj
TopWnd
www.dssz.com.txt
TopWnd/bitmap10.bmp
TopWnd/bitmap2.bmp
TopWnd/bitmap3.bmp
TopWnd/bitmap4.bmp
TopWnd/bitmap5.bmp
TopWnd/bitmap6.bmp
TopWnd/bitmap7.bmp
TopWnd/bitmap8.bmp
TopWnd/bitmap9.bmp
TopWnd/MainWnd.cpp
TopWnd/MainWnd.h
TopWnd/ReadMe.txt
TopWnd/res/4WAY02.CUR
TopWnd/res/animat6.ico
TopWnd/res/TopWnd.manifest
TopWnd/res/TopWnd.rc2
TopWnd/res
TopWnd/resource.h
TopWnd/stdafx.cpp
TopWnd/stdafx.h
TopWnd/TopWnd.cpp
TopWnd/TopWnd.h
TopWnd/TopWnd.rc
TopWnd/TopWnd.sln
TopWnd/TopWnd.suo
TopWnd/TopWnd.vcproj
TopWnd
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.