Programming - cpueblo.com

CFileDialog 하나의 파일 열기(복수 아님)


글쓴이 : 유광희 날짜 : 2002-05-25 (토) 11:12 조회 : 15083
void CNDLoader_Serial_ModuleDlg::OnOpenbinfile()
{
	// TODO: Add your control notification handler code here

	POSITION FilesPoint;
	CString FileName;

	CFileDialog Files( TRUE, "*.bin", NULL, OFN_ENABLESIZING, "Binary Files (*.bin)|*.bin|All Files (*.*)|*.*|");

	if (Files.DoModal() == IDCANCEL) return;

	FileName = Files.GetPathName();
}