|
|
RTD documentation |
#include <rtd_Dlg.h>
Inheritance diagram for Crtd_Dlg:

Public Methods | |
| Crtd_Dlg (UINT nIDD = 0, CWnd* pParent = NULL) | |
| Constructor. More... | |
| CStringArray* | GetItemNames () |
| Retrieves item names. More... | |
| CUIntArray* | GetItemIDs () |
| Retrieves item IDs. More... | |
| CString | GetItemNameByID (UINT nID) |
| Get item name by item ID. More... | |
| int | GetItemIDByName (const CString& szName) |
| Get item ID by name. More... | |
| virtual void | Store (BOOL bStore, CString szFileName = _T("")) |
| Serializes dialogs' data. More... | |
| void | GotoNextCfg (int iDir) |
| Loades next configuration. More... | |
| BOOL | CanGotoNextCfg () |
| Tells if there is next configuration available. More... | |
| void | Edit () |
| Launches dialog editor. More... | |
| void | SetActiveCfg (int iActiveCfg, BOOL bForce = FALSE) |
| Sets active configuration. More... | |
| int | GetActiveCfg () |
| Gets current configuration ID. More... | |
| Crtd_Cfg& | GetCfg (int iCfg = -1) |
| Gets current configuration. More... | |
| CCfgs* | GetCfgs () |
| Gets array of configurations. More... | |
| Crtd_DItem* | GetDItem (int iCfg, UINT nID) |
| Get dialog item information. More... | |
| void | Refresh () |
| Refreshes dialog. More... | |
| void | AddItemName (UINT nID, CString szName) |
| Adds an item to the dialog. More... | |
| void | Serialize (CArchive& ar) |
| Serializes configuration data to an archive. More... | |
Crtd_Dlg is the main run-time dialog. You should derive from this class to create your own customizable dialogs. The class provides the required interface for accessing controls, configurations and serialization methods.
|
|
Constructor. Standard dialog constructor.
|
|
|
Adds an item to the dialog. Adds an item to the list of dialog resource IDs and names. The information will be used for accessing dialog items by their display names.
|
|
|
Tells if there is next configuration available. Checks if there is at least one more configuration available in the array of configurations.
|
|
|
Launches dialog editor. Loads all configurations and displays dialog editor. |
|
|
Gets current configuration ID. Retreives ID of the currently used configuraiton.
|
|
|
Gets current configuration. Retreives currently used configuraiton.
|
|
|
Gets array of configurations. Retreives the array of all available configurations.
|
|
|
Get dialog item information. Retreives dialog item information by item's ID and configuration number.
|
|
|
Get item ID by name. Retrieves ID of a dialog item given it's name.
|
|
|
Retrieves item IDs. This is a helper function used to fill configurations combo boxes with item IDs.
|
|
|
Get item name by item ID. Retrieves the names of an item by it's ID.
|
|
|
Retrieves item names. This is a helper function used to fill configurations combo boxes with item names.
|
|
|
Loades next configuration. Loades next configuration and changes dialog controls accordingly.
|
|
|
Refreshes dialog. Causes dialog to redraw. |
|
|
Serializes configuration data to an archive. Stores or loads configuration data from an archive. The arhive has to be initialized and connected to a file before the method is called.
|
|
|
Sets active configuration. Loads all configurations and displays dialog editor.
|
|
|
Serializes dialogs' data. Stores or loads dialogs configuration from a file.
|
Last reviewed on Saturday February 07, 2004. Latest version is available at hamradio.idealog.net