?????????????
????C++?ж??????????????????????
?????????????????
????MyDialog m_dialog;
????m_dialog.DoModal();
??????????????????????
????MyDialog m_dialog;
????//????IDD_DIALOG1?????NULL???????????′???
????m_dialog.Create(IDD_DIALOG1??NULL);
????//????????
????m_dialog.ShowWindow(SW_SHOW);
????//???????????
????SetWindowPos(&CWnd::wndTopMost??0??0??0??0??SWP_NOMOVE|SWP_NOSIZE);
????//???????
????m_dialog.DestoryWindow();
??????????е???????????????????
??????????:
????CProgressCtrl  progCtrl=(CProgreesCtrl*)m_dialog.GetDlgItem(IDC_PROGRESS1);
????//?趨???????????100
????progCtrl->SetRange(0??100);
????for(int 1=0;i<100;i++)
????{
????Sleep(1000);
????//????1???????????1
????progCtrl->SetPos(i+1);
????}
??????????Static Text??????:
????1.??head file?ж???CString ctrlText??
????2.??source file?е????DoDataExchange????? DDX_TEXT(pDX??IDC_STATIC1??ctrlText);
????CString str="change to Static Text";
????m_dialog.ctrlText=str;
????m_dialog.UpdateData(FALSE)??//???????
????m_dialog.UpdateData(TRUE)?????????