SystemDialogPanel Class
class SystemDialogPanel : public Panel
멤버
GetMainDialog | |
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
플랫폼: