15,979
社区成员
发帖
与我相关
我的任务
分享
//重要的事情说三遍:有一种控件叫做customer control customer control customer control
//such as bellow code:
#define MY_SCROLL_MSG WM_USER+20000//自定义的滚动条滚动消息
#include <afxtempl.h>
class CMyScroll: public CWnd
{
private:
COLORREF clbk;
int nTotalWidth;
int nTotalHeight;
int nleft,ntop;
int relatives;
HWND hParents;
int currentvalue;//乘以100%的整数部分,比如10表示10%
//...
MFC很强大,只是大家太懒了,都想拷贝,不想自己写。CWnd可以实现你看到的任何软件特效。