C++????????????????????
???????????? ???????[ 2015/6/3 14:04:31 ] ????????????????
?????????????
????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)?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11