Graphisoft®

Dialog ManagerVersion: 2.0

SystemDialogPanel Class

시스템 다이얼로그 커스텀화 클래스입니다.

class SystemDialogPanel : public Panel

멤버

Public 메소드

GetMainDialog 패널의 부모 다이얼로그를 리턴합니다.
SystemDialogPanel SystemDialogPanel의 생성자입니다.
~SystemDialogPanel SystemDialogPanel의 소멸자입니다.

설명

파일 및 폴더 다이얼로그 커스텀화를 위한 특수 패널입니다. 직접 사용할 수 없고 기본 클래스로만 사용할 수 있습니다.

예제

    DG::FileDialog dlg (DG::FileDialog::OpenMultiFile);
    dlg.EnablePreview ();

    OpenNotesPanel customPanel (&dlg, ID_DLOG_CUSTOM_OFD);
    OpenNotesObserver observer (&customPanel, &dlg);

    dlg.AddFilterGroupChildren (FTM::RootGroup);
    dlg.AddFilter (FTM::UnknownType);               // Separator
    dlg.AddFilterTypeChildren (FTM::RootGroup);
    dlg.AddFilter (FTM::UnknownType);               // Separator
    dlg.AddFilter (FTM::RootGroup);                 // All types

    dlg.SelectFilter (1);

    dlg.SetTitle ("Custom Open File");
    dlg.SetOKButtonText ("Open!");
    dlg.SetCancelButtonText ("Cancel!");
    IO::Location defaultLoc;;
    IO::fileSystem.GetSpecialLocation (IO::FileSystem::UserLocalSettings, &defaultLoc);
    dlg.SetFolder (defaultLoc);
    dlg.SelectFile (IO::Location ("Text1.txt"));

    dlg.Invoke ();

예제의 설명.

요구사항

네임스페이스: DG

헤더: DGSystemDialog.hpp

플랫폼: Windows NT 4.0, Windows 2000, Windows XP, Mac OSX 10.6 또는 상위

참고사항

SystemDialog