VC 自绘按钮,任意形状绘制.rar

上传者: 39841365 | 上传时间: 2021-07-26 18:24:56 | 文件大小: 426KB | 文件类型: RAR
VC 自绘按钮,任意形状绘制,简介:CControlButton 控制按钮类,继承于CButton实现控制按钮的绘制。
   功能:可加载按钮上四种状态图片,可任意改变其形状和响应区域
   原作者:李其宋
   修改:邹英斌
   修改内容:增加2个函数SetMaskBitmapId(int mask,bool action),设置一张蒙板图片,对背景透明SetRgnMask(int nMaskBmpId,bool nAction),设置和蒙板相对应的区域

文件下载

资源详情

[{"title":"( 25 个子文件 426KB ) VC 自绘按钮,任意形状绘制.rar","children":[{"title":"codesc.net","children":[{"title":"DemoButton","children":[{"title":"ControlButton.cpp <span style='color:#111;'> 17.55KB </span>","children":null,"spread":false},{"title":"DemoButtonDlg.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"DemoButton.dsw <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"DemoButton.clw <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"DemoButton.cpp <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"OKmask.bmp <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"btn_ok_a.bmp <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"DemoButton.rc2 <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"btn_ok_b.bmp <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"btn_ok_c.bmp <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"DemoButton.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 35.00KB </span>","children":null,"spread":false},{"title":"background.bmp <span style='color:#111;'> 337.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"DemoButton.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"DemoButton.aps <span style='color:#111;'> 394.12KB </span>","children":null,"spread":false},{"title":"ControlButton","children":[{"title":"ControlButton.cpp <span style='color:#111;'> 17.52KB </span>","children":null,"spread":false},{"title":"ControlButton.h <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"Resource.h <span style='color:#111;'> 913B </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"DemoButton.rc <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"DemoButtonDlg.cpp <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"ControlButton.h <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"DemoButton.dsp <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明