摘要: 1、控件随窗口大小而自动缩放void CDVRDlg::OnSize(UINT nType, int cx, int cy) {RECT rcClient; if (GetDlgItem(IDC_STATIC_aa)) { GetClientRect(&rcClient); rcClient.left+=10; rcClient.right-=10; rcClient.top+=10; rcClient.bottom-=10; GetDlgItem(IDC_STATIC_aa)->MoveWindow(&rcClient); }}2、CButtonSTShort shBt 阅读全文
posted @ 2011-06-08 10:18 星星的学习小志 阅读(869) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示