VS2013 CPropertyPage 增加button后背景色自动变白色

qq_34470481 2016-10-19 03:41:58
VS2013 在page上面增加一个button后背景颜色就变白色了,删除后有正常变成灰色,始终搞不懂什么情况

void CBorrowWndView::InitSheet()
{
//set the progertysheet page====================================
m_sheet.EnableStackedTabs(FALSE);
m_sheet.AddPage(&this->m_Page_BorrowList);
m_sheet.AddPage(&this->m_Page_Borrowing);

CRect rect;
GetClientRect(rect);

m_sheet.Create(this, WS_CHILD | WS_VISIBLE, WS_EX_CONTROLPARENT);
m_sheet.GetWindowRect(&rect);
int width = rect.right - rect.left;
int height = rect.bottom - rect.top;
m_sheet.SetWindowPos(NULL, 8, 8, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);


}






...全文
320 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_34470481 2016-10-20
  • 打赏
  • 举报
回复
高手大神们都解不了么? 还是分少了,这是最后压箱底的20分
qq_34470481 2016-10-19
  • 打赏
  • 举报
回复
引用 1 楼 swwllx 的回复:
看不出来问题在哪 坐等高手出现
坐等高手,坐等各种版主
三岁、就很帅 2016-10-19
  • 打赏
  • 举报
回复
看不出来问题在哪 坐等高手出现

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧