Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
CInstancesFieldDlg Class Reference

#include <instancesfielddlg.h>

Inheritance diagram for CInstancesFieldDlg:
Inheritance graph
Collaboration diagram for CInstancesFieldDlg:
Collaboration graph

Public Types

enum  { IDD = IDD_INSTANCES_FIELD_OPTIONS }
 

Public Member Functions

 CInstancesFieldDlg (Visio::IVApplicationPtr vsoApp, double mousePosX=0.0, double mousePosY=0.0)
 
const wchar_t * GetRegistryFolder ()
 

Public Attributes

int m_instances_cnt
 
double m_instance_length
 
double m_instance_width
 
double m_start_pos_x
 
double m_start_pos_y
 
bool m_use_const_spacing
 
double m_total_width
 
double m_spacing
 

Protected Member Functions

void OnDataValidateError (UINT nCtrlID, BOOL bSave, _XData &data)
 
LRESULT OnInitDialog (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnCloseCmd (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnTotalWidthRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnSpacingRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnDefaultCmd (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
int LoadRegistryData ()
 
int SaveRegistryData ()
 
void UpdateSpacingControls ()
 

Protected Attributes

CStatic m_optionsGroupBox
 
CButton m_totalWidthRdo
 
CButton m_spacingRdo
 
CButton m_defaultValuesBtn
 
CEdit m_instancesCntEdit
 
CEdit m_totalWidthEdit
 
CEdit m_spacingEdit
 
CStatic m_unitLabels [5]
 

Private Attributes

Visio::IVApplicationPtr m_vsoApp
 
short m_pageUnits
 
double m_mousePosX
 
double m_mousePosY
 
double m_pageWidth
 
double m_pageHeight
 

Detailed Description

Definition at line 29 of file instancesfielddlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 33 of file instancesfielddlg.h.

Constructor & Destructor Documentation

CInstancesFieldDlg::CInstancesFieldDlg ( Visio::IVApplicationPtr  vsoApp,
double  mousePosX = 0.0,
double  mousePosY = 0.0 
)

Member Function Documentation

const wchar_t* CInstancesFieldDlg::GetRegistryFolder ( )
inline

Definition at line 45 of file instancesfielddlg.h.

References SCSTUDIO_REGISTRY_ROOT.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CInstancesFieldDlg::LoadRegistryData ( )
protected
LRESULT CInstancesFieldDlg::OnCloseCmd ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
protected

Definition at line 85 of file instancesfielddlg.cpp.

References SaveRegistryData().

void CInstancesFieldDlg::OnDataValidateError ( UINT  nCtrlID,
BOOL  bSave,
_XData &  data 
)
protected

Definition at line 42 of file instancesfielddlg.cpp.

References IDC_IF_INSTANCES_CNT, and TRACE.

LRESULT CInstancesFieldDlg::OnDefaultCmd ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
protected
LRESULT CInstancesFieldDlg::OnInitDialog ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
)
protected
LRESULT CInstancesFieldDlg::OnSpacingRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
protected

Definition at line 115 of file instancesfielddlg.cpp.

References m_use_const_spacing, and UpdateSpacingControls().

LRESULT CInstancesFieldDlg::OnTotalWidthRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
protected

Definition at line 108 of file instancesfielddlg.cpp.

References m_use_const_spacing, and UpdateSpacingControls().

int CInstancesFieldDlg::SaveRegistryData ( )
protected
void CInstancesFieldDlg::UpdateSpacingControls ( )
protected

Member Data Documentation

CButton CInstancesFieldDlg::m_defaultValuesBtn
protected

Definition at line 112 of file instancesfielddlg.h.

double CInstancesFieldDlg::m_instance_length
double CInstancesFieldDlg::m_instance_width
int CInstancesFieldDlg::m_instances_cnt
CEdit CInstancesFieldDlg::m_instancesCntEdit
protected

Definition at line 114 of file instancesfielddlg.h.

Referenced by OnDefaultCmd(), and OnInitDialog().

double CInstancesFieldDlg::m_mousePosX
private

Definition at line 51 of file instancesfielddlg.h.

Referenced by CInstancesFieldDlg(), and OnInitDialog().

double CInstancesFieldDlg::m_mousePosY
private

Definition at line 52 of file instancesfielddlg.h.

Referenced by CInstancesFieldDlg(), and OnInitDialog().

CStatic CInstancesFieldDlg::m_optionsGroupBox
protected

Definition at line 109 of file instancesfielddlg.h.

double CInstancesFieldDlg::m_pageHeight
private

Definition at line 55 of file instancesfielddlg.h.

Referenced by CInstancesFieldDlg(), and OnDefaultCmd().

short CInstancesFieldDlg::m_pageUnits
private

Definition at line 49 of file instancesfielddlg.h.

Referenced by CInstancesFieldDlg(), and OnInitDialog().

double CInstancesFieldDlg::m_pageWidth
private

Definition at line 54 of file instancesfielddlg.h.

Referenced by CInstancesFieldDlg(), and OnDefaultCmd().

double CInstancesFieldDlg::m_spacing
CEdit CInstancesFieldDlg::m_spacingEdit
protected

Definition at line 116 of file instancesfielddlg.h.

Referenced by UpdateSpacingControls().

CButton CInstancesFieldDlg::m_spacingRdo
protected

Definition at line 111 of file instancesfielddlg.h.

Referenced by UpdateSpacingControls().

double CInstancesFieldDlg::m_start_pos_x
double CInstancesFieldDlg::m_start_pos_y
double CInstancesFieldDlg::m_total_width
CEdit CInstancesFieldDlg::m_totalWidthEdit
protected

Definition at line 115 of file instancesfielddlg.h.

Referenced by UpdateSpacingControls().

CButton CInstancesFieldDlg::m_totalWidthRdo
protected

Definition at line 110 of file instancesfielddlg.h.

Referenced by UpdateSpacingControls().

CStatic CInstancesFieldDlg::m_unitLabels[5]
protected

Definition at line 118 of file instancesfielddlg.h.

Referenced by OnInitDialog().

bool CInstancesFieldDlg::m_use_const_spacing
Visio::IVApplicationPtr CInstancesFieldDlg::m_vsoApp
private

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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:57 for Sequence Chart Studio by  doxygen