摘要:
static char sfile[]="记事本(*.txt)|*.txt";//文件过滤器 CFileDialog dlg(TRUE,"txt"," ",OFN_ALLOWMULTISELECT,sfile);// CFileDialog ( BOOL bOpenFileDialog, LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFileName = NULL, DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, LPCTSTR lpszF 阅读全文
posted @ 2012-10-24 20:31
慧由心生
阅读(963)
评论(0)
推荐(0)
摘要:
// CColorDialog dlg(RGB(255, 0, 0), CC_FULLOPEN);//dlg.DoModal();//CColorDialog( COLORREF clrInit = 0, DWORD dwFlags = 0, CWnd* pParentWnd = NULL );/*CColorDialog dlg;if (dlg.DoModal() == IDOK){ COLORREF* ccolor = dlg.GetSavedCustomColors(); for (int i=0; i < 16; i++) { TRACE("RGB value of t 阅读全文
posted @ 2012-10-24 20:28
慧由心生
阅读(1211)
评论(0)
推荐(0)