如何調用windows 的調色板
CColorDialog cdlg;
cdlg.m_cc.Flags = CC_RGBINIT;
cdlg.m_cc.rgbResult = m_Color;
if (IDOK == cdlg.DoModal())
{
m_Color = cdlg.m_cc.rgbResult;
// Invalidate(); //不跟新
}
//如何打開文件
CFileDialog *fd;
MCI_OPEN_PARMS OpenParms;
MCI_PLAY_PARMS PlayParms;
MSG msg;
fd = new CFileDialog(TRUE);
if(fd->DoModal() != IDOK)
return;