Inheritance diagram for CP_GetDirectoryDialog:
Dialog handlers | |
virtual void | RunPlatformDialog () |
static INT CALLBACK | CP_SelectDirectoryHook (HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData) |
Public Member Functions | |
Constructor / Destructor | |
CP_GetDirectoryDialog () | |
Constructor. | |
virtual | ~CP_GetDirectoryDialog () throw () |
Destructor. | |
Getters | |
CP_FileSystemSpec_Array | GetSelectedDirectoriesList () |
Protected Member Functions | |
virtual void | HandleEvent (NavEventCallbackMessage inSelector, NavCBRec &ioParams) |
Dialog handlers | |
virtual NavDialogRef | CreateDialog (NavDialogCreationOptions &inOptions, NavEventUPP inEventUPP, void *inUserData) |
virtual void | ProcessReply () |
virtual void | HandleUserAction (CP_FileSystemDialogs_Base *inSendingDialog, CP_E_NavDialogResult inNavDialogResult) |
Protected Attributes | |
CP_FileSystemSpec_Array | fSelectedDirectories |
CP_FileSelectionCallback * | fSelectionCallback |
CP_SaveChangesCallback * | fSaveChangesCallback |
CP_SaveChangesCallback * | fRevertCallback |
CP_SaveChangesCallback * | fDontSaveChangesCallback |
CP_SaveChangesCallback * | fCancelCallback |
NavDialogRef | fNavDialog |
bool | fDialogIsRunning |
NavDialogCreationOptions | fNavDialogOptions |
Static Protected Attributes | |
static NavObjectFilterUPP | fsNavObjectFilterUPP = NULL |
static NavPreviewUPP | fsNavPreviewUPP = NULL |
Private Member Functions | |
void | RunPlatformDialog_Unicode () |
void | RunPlatformDialog_NonUnicode () |
|
Constructor.
|
|
Destructor.
|
|
Returns the list of selected directories.
|
|
Selected directories by user Implements CP_FileSystemDialogs_Base. |
|
Process the reply from the NavigationServices dialog.
Reimplemented from CP_FileSystemDialogs_Reply. |
|
Called when a kNavCBUserAction call is encountered to handle the users action.
Reimplemented from CP_FileSystemDialogs_Reply. |
|
Sets up and displays the Windows GetDirectory dialog to allow the user to select a directory.
Reimplemented from CP_FileSystemDialogs_Reply. |
|
|
|
|
|
|
|
NavigationServices preview UPP. Reimplemented from CP_FileSystemDialogs_Base. |
|
Runs the platforms file system / NavigationServices dialog. This calls the virtual RunPlatformDialog which handles the actual dialog, depending on the dialog and OS being used.
|
|
Sets the modality of the dialog, and optionally specifies a parent window to use in positioning the dialog relative to the passed in window.
|
|
Sets the callback when the user makes a file selection.
|
|
Sets the callback when the user chooses to save changes.
|
|
Sets the callback when the user chooses to revert to last saved file.
|
|
Sets the callback when the user chooses not to save changes.
|
|
Sets the callback when the user cancels Navigation Services dialog.
|
|
Sets the applications name for this dialog, if the underlying OS supports the display of the apps name.
|
|
Sets the file name for this dialog, if the underlying OS supports the display of the file name. The file name only applies if this dialog is saving a file, and the user is suppling a default file name.
|
|
Options used to control appearance and behavior of Navigation Services dialog. |
|
Returns the last user action of the dialog.
|
|
Returns the MacOS NavDialogRef for the current Navigation Services dialog.
|
|
Returns the MacOS NavDialogOptionFlags for the current Navigation Services dialog. These are the options that control the appearance and behavior of the dialog.
|
|
Sets the MacOS NavDialogOptionFlags for the current Navigation Services dialog. These are the options that control the appearance and behavior of the dialog.
|
|
Called when a kNavCBUserAction call is encountered.
|
|
Returns the result of the user dismissing the NavigationServices dialog.
|
|
Called when a kNavCBStart call is encountered.
|
|
Called when a kNavCBTerminate call is encountered.
|
|
|
|
|
|
NavigationServices object filter UPP. |
|
|
|
Signal called when the user selects a file. |
|
Signal called when the user responds to the AskSaveChanges dialog. |
|
Signal called when the user responds to the AskRevert dialog. |
|
Signal called when the user responds to the AskSaveChanges/AskRevert dialog. |
|
Signal called when the user responds to the AskSaveChanges/AskRevert dialog. |
|
MacOS NavDialogRef for the current Navigation Services dialog. |
|
Flag to indicate the dialog is currently running. |