RTD documentation


Main Page   Class Hierarchy   Compound List   Compound Members  

Crtd_Editor Class Reference

Run-time dialog resource editor. More...

#include <rtd_Editor.h>

Inheritance diagram for Crtd_Editor:

CDialog CWnd List of all members.

Public Methods

 Crtd_Editor (Crtd_Dlg* pRTDlg)
 Constructor. More...

BOOL GetHiddenItemsNames (CStringArray* pArr)
 Get names of hidden items. More...


Protected Methods

virtual BOOL OnInitDialog ()
 Standard dialog initialization function.

afx_msg void OnApply ()
 Apply modifications made in the editor. More...

afx_msg void OnOk ()
 Saves configuration changes and closes dialog.

afx_msg void OnAddcfg ()
 Adds new configuration. More...

afx_msg void OnCfgChanged ()
 Handles configuration changes.

afx_msg void OnSetactive ()
 Handles activisation of new configurations.

afx_msg void OnRename ()
 Handles configuration renaming event.

afx_msg void OnCfgComboEdited ()
 Handles configuration name modifications event.

afx_msg void OnRemovecfg ()
 Handles congiguration removal event.

afx_msg void OnFontDlg ()
 Handles "Font" button clicks. More...

afx_msg void OnHide ()
 Handles "Show/Hide" button clicks. More...

afx_msg void OnDisable ()
 Handles "Enable/Disable" button clicks. More...

afx_msg void OnApplyDlgFont ()
 Applies a font for the whole dialog.

afx_msg void OnShow ()
 Shows hidden dialog controls. More...


Detailed Description

Run-time dialog resource editor.

Crtd_Editor provides functionality for editing dialogs in run-time.

Version:
1.3
Date:
01.01.2000


Constructor & Destructor Documentation

Crtd_Editor::Crtd_Editor ( Crtd_Dlg * pRTDlg )
 

Constructor.

Constructs the editor.

Parameters:
pRTDlg   pointer to Cftd_Dlg to be edited.


Member Function Documentation

BOOL Crtd_Editor::GetHiddenItemsNames ( CStringArray * pArr )
 

Get names of hidden items.

Fills supplied CStringArray with names of dialog controls that can be hidden.

Parameters:
pArr   CStringArray that will be filled with data.

void Crtd_Editor::OnAddcfg ( ) [protected]
 

Adds new configuration.

Displays Crtd_AddCfgDlg dialog and creates new configuration if requested.

void Crtd_Editor::OnApply ( ) [protected]
 

Apply modifications made in the editor.

Updates configuration array and redraws the dialog.

void Crtd_Editor::OnDisable ( ) [protected]
 

Handles "Enable/Disable" button clicks.

Enables and disables current dialog item control.

void Crtd_Editor::OnFontDlg ( ) [protected]
 

Handles "Font" button clicks.

Displays font dialog and modifies configuration if fonts have been changed.

void Crtd_Editor::OnHide ( ) [protected]
 

Handles "Show/Hide" button clicks.

Hids and shows current dialog item control.

void Crtd_Editor::OnShow ( ) [protected]
 

Shows hidden dialog controls.

Displays a dialog for selecting hidden controls and shows selected dialog items.


The documentation for this class was generated from the following files:

Last reviewed on Saturday February 07, 2004. Latest version is available at hamradio.idealog.net