Function ProDirectoryChoose
Description
Prompts the standard file browser interface of Creo Parametric, set upfor the purpose of allowing the user to select a directory.
Replacement in Object TOOLKIT:
Synopsis
#include <ProUtil.h>
ProDirectoryChoose
(
ProName dialog_label
/* (In)
The user-specified label for the dialog box. If this is NULL, the function uses the default label, "Select Directory".
*/
ProPath* shortcut_path_arr
/* (In)
An array of shortcut paths. Use ProArrayAlloc() to allocate this array. This can be NULL.
*/
ProName* shortcut_name_arr
/* (In)
An array of shortcut labels that correspond to shortcut_path_arr. Use ProArrayAlloc() to allocate this array. This can be NULL.
*/
ProPath default_path
/* (In)
The default path to start browsing. If this is NULL, the function uses the current directory.
*/
ProPath r_selected_path
/* (Out)
The selected directory path.
*/
)
Returns
The user selected a directory and picked "Ok".
The user aborted from the user interface.
See Also
Sample Code References
User Guide References
Isto foi útil?