登录
首页 » C++ » Win-API--button-class--

Win-API--button-class--

于 2011-07-28 发布 文件大小:957KB
0 178
下载积分: 1 下载次数: 10

代码说明:

  网上提供的控件自绘基本上是MFC或WTL封装好的类,对于不想用MFC的人来说是一无是处的,我可是WIN32API的坚决拥护者。因为MFC等也是用WIN32API封装起来的,学好了WIN32API,可以深入的了解WINDOWS内部的机制,编写出来的程序才能得到更好的优化。 (Available online from the controls in MFC or WTL painting is basically a good class package, for people who do not want to use the MFC is useless, I' m a strong advocate WIN32API. Because MFC etc. is also packaged with WIN32API up, learn the WIN32API, in depth understanding of the mechanisms within WINDOWS, written by the program to get better optimization.)

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

发表评论

0 个回复

  • PS代码!好好用的喔!
    PS代码!好好用的喔!-PS code! Make good use!
    2022-05-06 08:32:56下载
    积分:1
  • xianchengtongxin
    点“创建线程” 按钮,创建两个线程,利用互斥实现线程共享变量通信。(create thread.)
    2013-12-30 20:38:48下载
    积分:1
  • GlowButton - 发光的
    翻译  maninwest@Codeforge  作者:John Underhill @ Codeproject最近我在查看 KMP Player 软件上的一些图形元素(如果你想看看好的图形设计,我建议你也查看一下)。我在项目中需要的是一个简单的发光按钮控件,用于玩家控制的,这不是什么太神奇的东西,只是在鼠标悬停时能够改变颜色。让图像更改颜色很简单,只需修改  ImageAttribute 的颜色矩阵:private void DrawColoredImage(Graphics g, Image img, Rectangle bounds, Color clr) { using (ImageAttributes ia = new ImageAttributes()) { ColorMatrix cm = new ColorMatrix(); // convert and refactor color palette cm.Matrix00 = ParseColor(clr.R); cm.Matrix11 = ParseColor(clr.G); cm.Matrix22 = ParseColor(clr.B); cm.Matrix33 = ParseColor(clr.A); cm.Matrix44 = 1f; // set matrix ia.SetColorMatrix(cm); // draw g.DrawImage(img, bounds, 0, 0, img.Width, img.Height, GraphicsUnit.Pixel, ia); } }示例代码中的 ParseColor 会将位转化为浮点值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-07-25 02:55:04下载
    积分:1
  • 怎样建立一个漂浮的listbox,具体使用请看编译后的关于对话框
    怎样建立一个漂浮的listbox,具体使用请看编译后的关于对话框 -how to build a floating listbox, the specific use Here is compiled on the box
    2022-06-15 21:13:10下载
    积分:1
  • 做出正确的翻转
    make correct rollover
    2022-07-11 06:40:17下载
    积分:1
  • VC做界面比较难,这里很多很多关于美化VC中.对话框的界面类,并且有DEMO程序,是你优化界面的好...
    VC做界面比较难,这里很多很多关于美化VC中按钮.对话框的界面类,并且有DEMO程序,是你优化界面的好-VC interface more difficult to do, where many in the VC button on the landscaping. Dialog interface type, and have DEMO procedures, optimizing the interface is your good
    2022-08-24 14:52:28下载
    积分:1
  • 圆形,提供代码的重复使用,可直接嵌入道正在开发工程上,或者做进一步的完善...
    圆形按钮控件,提供代码的重复使用,可直接嵌入道正在开发工程上,或者做进一步的完善-Radio button control, to provide reusable code can be directly embedded Road projects are being developed, or to do further to improve
    2022-03-10 19:25:15下载
    积分:1
  • 用vc做的拨号,源代码。很不错的哈
    用vc做的拨号控件,源代码。很不错的哈-vc do with the dial-up controls, the source code. Very good Kazakhstan
    2022-11-23 08:35:03下载
    积分:1
  • 组合键的使用就是只要在键盘上下一定的键就能触发相应的事...
    组合键的使用就是只要在键盘上按下一定的键就能触发相应的事件-bond portfolio as long as the use is the keyboard by pressing a button will trigger corresponding events
    2023-01-11 23:55:04下载
    积分:1
  • png-For-VB
    VB中最完美的Png图片显示控件 想在VB中使用Png图片的朋友有福了(Png VB of the most perfect picture display control like in VB Png pictures of friends blessed)
    2011-08-23 14:18:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载