RTD documentation


Main Page   Class Hierarchy   Compound List   Compound Members  

Crtd_EditorCtrl Class Reference

Resource editor control. More...

#include <rtd_EditorCtrl.h>

Inheritance diagram for Crtd_EditorCtrl:

CWnd List of all members.

Public Methods

 Crtd_EditorCtrl ()
 Constructor.

BOOL InitInDlg (CWnd *pParent, UINT nDlgID, UINT nControlID)
 Initializes control in a dialog. More...

BOOL InitInView (CWnd *pParent, UINT nDlgID)
 Initializes control in a view (MFC CView). More...

void AdjustScrolls ()
 Adjusts scroll bars after modification. More...

Crtd_LabDlgGetLabDlg ()
 Returns pointer to "lab dialog" used for modifying the resource.

void SetTrackerID (UINT nID)
 Sets tracker around a dialog item.

void SetTracker (BOOL bOn)
 Enables / disables tracker.

virtual ~Crtd_EditorCtrl ()
 Destructor.


Detailed Description

Resource editor control.

Crtd_EditorCtrl us derived from CWnd and provides GUI for editing resources in run-time.

Version:
1.3
Date:
01.01.2000


Member Function Documentation

void Crtd_EditorCtrl::AdjustScrolls ( )
 

Adjusts scroll bars after modification.

Adjust scroll bar positions according to current size of the edited dialog and the hosting dialog.

BOOL Crtd_EditorCtrl::InitInDlg ( CWnd * pParent,
UINT nDlgID,
UINT nControlID )
 

Initializes control in a dialog.

Allocates resources and prepares control's window styles for display in a dialog.

Parameters:
pParent   pointer to parent window
nDlgID   resource ID of the dialog to edit in run-time
nControlID   resource ID of the control (static) in the hosting dialog.
Returns:
TRUE if successfull.

BOOL Crtd_EditorCtrl::InitInView ( CWnd * pParent,
UINT nDlgID )
 

Initializes control in a view (MFC CView).

Allocates resources and displays the control in MFC view. The control will be resized whenever the user resices the view.

Parameters:
pParent   pointer to parent window (MFC CView instance)
nDlgID   resource ID of the dialog to edit in run-time
Returns:
TRUE if successfull.


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