关于属性页的问题
CRect rect(0,0,1024,768);//创建区域
MoveWindow(&rect,TRUE);//设置窗口大小,位置
rect.CopyRect(new CRect(300,100,800,300));//创建属性区域
m_PropertySheet.m_Rect=rect;
m_PropertySheet.m_nPages=-1;
m_PropertySheet.m_nActPage=0;
//创建属性页
m_PropertySheet.Create(WS_VISIBLE|WS_CHILD|WS_TABSTOP,m_PropertySheet.m_Rect,this,m_PropertySheet.m_nCtrlID);
//对属性页进行初始化
InitPropertySheet(0);
rect.CopyRect(new CRect(300,100,800,300));//创建属性区域
改变(300,100,800,300)括号中的数值,可以调整属性页的位置,但是显示内容没有了,怎么解决?
问题点数:20、回复次数:0Top




