PM Library | classes |
class PMSelectDir | ? ^ |
Directory selection dialog class.
The directory selection dialog class creates a directory selection dialog object for the user to choose a directory. Once the user has chosen a directory, you can use member functions of this class to retrieve information about the chosen directory.
You can construct and destruct objects of this class.
- Source:
- pm_selectdir.h:31
- Author:
- Dmitry A.Steklenev
- Version:
- $Revision: 1.5 $
Contents | ^ |
Entity Inherited From Type Scope Short Description PMSelectDir constructor public Constructs the directory selection dialog object. ~PMSelectDir destructor public Destructs the directory selection dialog object. show_modally method public Displays the directory selection dialog. selected method public Returns the chosen directory. handle method public Returns the presentation window handle.
constructor PMSelectDir | ? ^ > |
Constructs the directory selection dialog object.
This constructor create directory selection dialog object. You must use show_modally to activate it.
- Source:
- pm_selectdir.h:51
- Params:
caption The dialog window title howner Specifies the owner-window handle. pathname The directory name to use as the default. style Specifies the dialog style:
- FDS_CENTER
- The dialog is positioned in the center of its owner window.
- Code:
public PMSelectDir ( const char * caption , HWND howner , const char * pathname , ULONG style )
destructor ~PMSelectDir | ? ^ < > |
Destructs the directory selection dialog object.
Cleans up as this dialog object and destroying the associated presentation window for this object.
- Source:
- pm_selectdir.h:60
- Code:
public virtual ~ PMSelectDir ( )
method show_modally | ? ^ < > |
Displays the directory selection dialog.
While the dialog window is being shown modally, its parent or owner or both windows are disabled. Other top level windows belonging to the application are not disabled.
- Source:
- pm_selectdir.h:75
- Returns:
- Result code from dialog dismissal. This field contains the ID of the push button pressed to dismiss the dialog, DID_OK or DID_CANCEL. If an error occurs on dialog invocation, this value is set to zero.
- Code:
public virtual ULONG show_modally ( )
method selected | ? ^ < > |
Returns the chosen directory.
- Source:
- pm_selectdir.h:87
- Params:
filename A buffer in which the chosen directory name is returned. size This is the size of the buffer specified by the filename parameter.
- Returns:
- Success indicator.
- Code:
public virtual BOOL selected ( char * pathname , int size )
method handle | ? ^ < > |
Returns the presentation window handle.
- Source:
- pm_selectdir.h:90
- Code:
public HWND handle ( ) const
Created Fri Aug 3 09:13:16 2012.
This documentation was generated automatically by
ccdoc v08r39 2003/02/27 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.