刘华世的官方博客
摘要: MFC中的argc和argv参数在consloe程序中,通常用main(int argc,char*const*argv),自动就得到这两个参数,在MFC多文档程序中,需要用到这两个参数,直接使用__argc,__argv即可。 阅读全文
posted @ 2012-11-27 16:51 pythonschool 阅读(560) 评论(0) 推荐(0) 编辑
摘要: BOOL CCreateStatusBarDlg::OnInitDialog(){ CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALSE). 阅读全文
posted @ 2012-11-27 13:51 pythonschool 阅读(488) 评论(0) 推荐(0) 编辑
摘要: str1 = 'md "I:\mr\%s\qjyy" && xcopy /e "E:\学通C++的24堂课\mr\%s\qjyy" "I:\mr\%s\qjyy"'str2 = 'md "I:\mr\%s\sl" && xcopy /e "E:\学通C++的24堂课\mr\%s\sl" "I:\mr\%s\sl"'str3 = 'md "I:\mr\%s\zmhh" && 阅读全文
posted @ 2012-11-27 13:50 pythonschool 阅读(248) 评论(0) 推荐(0) 编辑
摘要: BOOL CToolTipDlg::OnInitDialog(){ CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALSE); if ... 阅读全文
posted @ 2012-11-27 13:50 pythonschool 阅读(337) 评论(0) 推荐(0) 编辑
摘要: BOOL CSizeStatusbarDlg::OnInitDialog(){ CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALSE); . 阅读全文
posted @ 2012-11-27 13:50 pythonschool 阅读(265) 评论(0) 推荐(0) 编辑
摘要: BOOL CProgressStatusBarDlg::OnInitDialog(){ CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALS. 阅读全文
posted @ 2012-11-27 13:50 pythonschool 阅读(990) 评论(0) 推荐(0) 编辑
刘华世的官方博客