文件名称:CPushPinButtonv1.21
介绍说明--下载内容均来自于网络,请自行研究使用
CPushPinButton类继承于CButton类,功能是完成一个图钉按钮的效果。就像VC++中一个控件的属性对话框中的那个图钉按钮。 类的使用步骤: 1.在工程中加入PushPin.cpp和PushPin.h两个文件,并且在需要用到这个类的文件中加入#include "PushPin.h"语句。 2.确保工程中加入了图片IDB_PUSHPIN或者IDB_PUSHPIN_HELP 3.在对话框中加入一个按钮,设置owner-draw属性,大小不限。 4.使用Classwizard定义一个按钮的成员变量,然后用CPushPinButton代替CButton声明 5.为确保在按钮状态发生变化时,类能正常运行,还应该用ReloadBitmaps方法响应WM_SETTINGCHANGE或者WM_WININICHANGE消息。-Class CPushPinButton inherited from CButton class, function is to complete a pushpin button effect. Like VC++ A control Properties dialog box that pushpin button. Type of use these steps: 1. PushPin.cpp in engineering and PushPin.h adding the two documents, and need to resort to this type of file by adding# Include PushPin.h statement. 2. Ensure that the works to add a picture IDB_PUSHPIN or IDB_PUSHPIN_HELP 3. In the dialog box to add a button, set the owner-draw attributes, size limitation. 4. Use ClassWizard to define a member variable of the button, and then replace CButton with CPushPinButton statement 5. In order to ensure that the button state change, the type can be normal operation, it should also be used to respond to ReloadBitmaps method WM_SETTINGCHANGE or WM_WININICHANGE news.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CPushPinButton v1.21
....................\app.cpp
....................\app.h
....................\dlg.cpp
....................\dlg.h
....................\PushPin.cpp
....................\pushpin.gif
....................\PushPin.h
....................\pushpin.htm
....................\pushpindemo.dsp
....................\pushpindemo.dsw
....................\PushPinDemo.rc
....................\RES
....................\...\PushpinDemo.rc2
....................\resource.h
....................\StdAfx.cpp
....................\StdAfx.h
ReadMe.txt
开源盛世ReadMe.txt
....................\app.cpp
....................\app.h
....................\dlg.cpp
....................\dlg.h
....................\PushPin.cpp
....................\pushpin.gif
....................\PushPin.h
....................\pushpin.htm
....................\pushpindemo.dsp
....................\pushpindemo.dsw
....................\PushPinDemo.rc
....................\RES
....................\...\PushpinDemo.rc2
....................\resource.h
....................\StdAfx.cpp
....................\StdAfx.h
ReadMe.txt
开源盛世ReadMe.txt