Gradient Progress control
Download Source Code and Example
Development Environment: VC5, 95
This is a simple class to display a gradient fill progress control. It works just like the normal progress control. The main enhancements are that you can customize the colors and toggle the percentage caption's visibility.
The control can be incorporated into a project like any other CProgressCtrl derived control. Either create the control manually, subclass an existing CProgressCtrl, or use ClassWizard to DDX_control it. The actual code for the progress control is located in GradientProgressCtrl.h and GradientProgressCtrl.cpp. I haven't fully tested it's robustness, although I don't suspect that it will fail miserably. Most of the work happens in the DrawGradient(...) function, which also uses Keith Rule's MemDC class. The sample project also uses Chris Maunder's ColourPicker. Both of these classes are included in the sample project and can be downloaded elsewhere at this site.
It is derived from CProgressCtrl so all standard CProgressCtrl functions are available. Additional functions are listed below.
I hope someone gives it a good home :). Please let me know of any problems or improvements. Thanks and good luck.
Member Set Functions
void SetTextColor(COLORREF color) // Set the percentage text color
void SetBkColor(COLORREF color) // Set background color
void SetStartColor(COLORREF color) // Set starting color
void SetEndColor(COLORREF color) // Set ending color
void ShowPercent(BOOL bShowPercent = TRUE) // Show the percent caption?
Member Get Functions
COLORREF GetTextColor(void)
COLORREF GetBkColor(void)
COLORREF GetStartColor(void)
COLORREF GetEndColor(void)
Last updated: 18 May 1998
分享到:
相关推荐
npm i -s react-gradient-progress 基本用法 import { CircleProgress } from 'react-gradient-progress' 道具 姓名 描述 percentage 进度百分比。 必需的。 width 进度栏容器的宽度(以像素为单位)。 默认值:...
颜色渐变进度条编程 作为C++一个小小的编程练习
语言:English 实现上海鸥飞过大海的动画效果 实现上海鸥飞过大海的动画效果
Gradient-Based Learning, Gradient Descent,Stochastic Gradient Descent, Minibatch Stochastic Gradient Descent, Choosing the Learning Rate
gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录系统页面gradient002登录...
A fully customisable gradient shader pack, composed by an unlit, standard and a skybox material. Demo scenes included. For any questions regarding this asset feel free to contact me on twitter. ...
该文档提供了一个有效地图像去噪算发,为今后的研究提供了一个有效的途径
Gradient Boosting Decision Tree
Gradient Profile Prior
Each shader outputs a colorful gradient. You can save memory and performance by not having to use a texture! The gradient might be combined with one or two palette textures, and/or a sprite texture, ...
A Gradient Boosting Machine
WGAN with gradient penalty
Gradient Descent Review: Gradient Descent Tip 1: Tuning your learning rates Adaptive Learning Rates Adagrad Contradiction Intuitive Reason Larger gradient, larger steps
using Gaussian and gradient magnitude for image processing segmentation.
Delphi color gradient progress bar
压缩感知proximal Gradient算法实现
gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录页 gradient001 渐变色紫色登录...
通俗易懂的介绍conjugate gradient(CG)算法
Projected Gradient Methods for Non-negative Matrix Factorization Chih-Jen Lin Department of Computer Science Abstract Non-negative matrix factorization (NMF) can be formulated as a minimization ...
这是一个压缩传感方面的Gradient Projection for Sparse Reconstruction 工具包。