본문 바로가기

Programming/MFC

CFileDialog::GetFileExt

출처 내공 수련중..나에게 용기를.. | 논스모커
원문 http://blog.naver.com/ttcoupe/20017744858


MFC Library Reference  

CFileDialog::GetFileExt

Call this function to retrieve the extension of the filename entered into the dialog box.

//대화상자에 입력된 파일의 확장자를 얻기 위해서 이 함수를 호출. extension..확장자.

CStringGetFileExt()const;

Return Value

The extension of the filename.

//파일이름의 확장자를 반환.

Remarks

For example, if the name of the file entered is DATA.TXT,GetFileExtreturns "TXT".

Ifm_ofn.Flagshas theOFN_ALLOWMULTISELECTflag set, this string contains a sequence of null-terminated strings, with the first string being the directory path of the file group selected, followed by the names of all files selected by the user. To retrieve file pathnames, use theGetStartPositionandGetNextPathNamemember functions.

See Also

CFileDialog Overview|Class Members|Hierarchy Chart|CFileDialog::GetPathName|CFileDialog::GetFileName|CFileDialog::GetFileTitle

'Programming > MFC' 카테고리의 다른 글

창의 크기를 고정시키거나 제한하는 방법  (0) 2006.03.17
CFileDialog 파일 저장하기  (1) 2006.03.09
CFileDialog (file open)  (0) 2006.03.09
각종 .dll 파일 다운로드  (0) 2006.03.07
스레드 우선 순위  (0) 2006.03.07