|
文件: |
SpinUse.rar |
大小: |
1693KB |
下载: |
下载 | |
CSpinButtonCtrl *pSpinRed = (CSpinButtonCtrl*)GetDlgItem(IDC_SPIN_RED);
ASSERT(pSpinRed!= NULL);
pSpinRed->SetBuddy(GetDlgItem(IDC_EDIT_RED));
pSpinRed->SetRange(0,255);
pSpinRed->SetPos(128);
// TODO: 在此添加额外的初始化代码
CSpinButtonCtrl *pSpinGreen = (CSpinButtonCtrl*)GetDlgItem(IDC_SPIN_GREEN);
ASSERT(pSpinGreen!= NULL);
pSpinGreen->SetBuddy(GetDlgItem(IDC_EDIT_GREEN));
pSpinGreen->SetRange(0,255);
pSpinGreen->SetPos(128);
// TODO: 在此添加额外的初始化代码
CSpinButtonCtrl *pSpinBlue = (CSpinButtonCtrl*)GetDlgItem(IDC_SPIN_BLUE);
ASSERT(pSpinBlue!= NULL);
pSpinBlue->SetBuddy(GetDlgItem(IDC_EDIT_BLUE));
pSpinBlue->SetRange(0,255);
pSpinBlue->SetPos(128);
阅读(949) | 评论(0) | 转发(0) |