我用MoveWindow怎么老出错?!
改变CReBar里控件属性(SDI)
void CMainFrame::OnSize(UINT nType, int cx, int cy)
{
CFrameWnd::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
GetDlgItem(IDC_GO)->MoveWindow(700,1,10,10);
GetDlgItem(IDC_COMMAND_IN)->MoveWindow(40,1,cx-30,12);
}