登录
首页 » 按钮控件 » cwbbutton是WindowBlinds像可调整大小的图像按钮从CButton的…

cwbbutton是WindowBlinds像可调整大小的图像按钮从CButton的…

于 2022-05-13 发布 文件大小:36.40 kB
0 170
下载积分: 2 下载次数: 1

代码说明:

CWBButton is a WindowBlinds like resizable image button derived from a CButton. In MFC, You can use the class called CBitmapButton, but that s not enough. The size of button is the size of the bitmap, and you can t put a text by calling the API SetWindowText(). I wanted REAL Bitmap Button like GTK+ or WindowBlinds. So I try to create a REAL Bitmap Button referring WindowBlinds.

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

发表评论

0 个回复

  • 谷 歌 Chrome进度条
    翻译 maninwest@Codeforge 作者:VallarasuS@CodeProject这里展示如何从头开始创建一个 Go ogle Chrome 主题的 进度条。任何进度条控件都依赖于一个值及表示进度值的图形。 Goo gle Chrome 下载程序有个圆圈表示进度。使用代码ChromeProgressBaris 跟 Chrome ProgressBar 的工作原理一样。将进度值转化为一个圆圈图形来表示.private void PaintProgress(PaintEventArgs e) { using( SolidBrush progressBrush = new SolidBrush(this.ProgressColor)) { Rectangle rect = LayoutInternal.ProgressRectangle; rect.Inflate(-2, -2); rect.Height -= 2; rect.Width -= 2; float startAngle = -90; float sweepAngle = Progress / 100 * 360; e.Graphics.FillPie(progressBrush, rect, startAngle, sweepAngle); } }这里是如何使用图形路径和4条线绘制圆圈和细分部分。对 Graphics 对象的剪切部分进行调整来剪切圆圈外的线。private void PaintBorder(PaintEventArgs e) { GraphicsPath borderPath = new GraphicsPath(); Rectangle progressRect = LayoutInternal.Prog
    2022-08-08 07:55:37下载
    积分:1
  • cwbbutton是WindowBlinds像可调整大小的图像从CButton的…
    CWBButton is a WindowBlinds like resizable image button derived from a CButton. In MFC, You can use the class called CBitmapButton, but that s not enough. The size of button is the size of the bitmap, and you can t put a text by calling the API SetWindowText(). I wanted REAL Bitmap Button like GTK+ or WindowBlinds. So I try to create a REAL Bitmap Button referring WindowBlinds.
    2022-05-13 05:40:17下载
    积分:1
  • 精简、漂亮的小,代码极简单,思路清晰。
    精简、漂亮的小按钮,代码极简单,思路清晰。-streamlined, pretty small buttons, code simple, clear ideas.
    2022-07-02 14:27:14下载
    积分:1
  • 可以实现Excel向ACCESS中导入数据 可以实现Excel向ACCESS中导入数据...
    可以实现Excel向ACCESS中导入数据 可以实现Excel向ACCESS中导入数据 -ACCESS can be achieved in Excel to import data can be achieved in Excel to import data can be achieved ACCESS to ACCESS to import Excel data can be achieved to import Excel data to ACCESS
    2022-05-28 17:46:00下载
    积分:1
  • 一个有关FTP上传数据库的代码,通过把数据库备份后,压缩成RAR文再上传至FTP服务器...
    一个有关FTP上传数据库的代码,通过把数据库备份后,压缩成RAR文件再上传至FTP服务器-FTP upload a database of the code, database backup, compressed into RAR file upload to FTP servers
    2022-05-08 15:12:52下载
    积分:1
  • cbuttonssl现在已被广泛应用于实际产品,一直这样…
    CButtonSSL has now been used extensively in a real product and has such has been through the mill a fair bit on the testing side. Thankfully this has given me time to find and fix these problems, too.
    2022-10-31 20:15:03下载
    积分:1
  • 在PDA设备开发环境下,所使用的BUTTON,可以加载ICON和其他字体...
    在PDA设备开发环境下,所使用的BUTTON控件,可以加载ICON和其他字体-in PDA device development environment, used by BUTTON controls can be loaded ICON and other fonts
    2022-03-12 16:43:55下载
    积分:1
  • 位图转换成图标的程序
    位图转换成图标的程序 -bitmap conversion process icon
    2022-03-18 10:40:47下载
    积分:1
  • VC++收音机的程序,以后一定上些更好的源码和大家分享
    VC++收音机控件的程序,以后一定上些更好的源码和大家分享-VC radio control procedures, I must on some of the source code and a better share
    2022-08-18 10:34:09下载
    积分:1
  • 播放avi动画的
    播放avi动画的按钮控件- Broadcasts the avi animation the button to control
    2022-11-01 13:40:03下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载