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

#include <beautifySettingADlg.h>

Inheritance diagram for CBeautifySettingsADlg:
Inheritance graph
Collaboration diagram for CBeautifySettingsADlg:
Collaboration graph

Public Types

enum  { IDD = IDD_BEAUTIFY_SETTINGS_ADDITIONAL }
 

Public Member Functions

 CBeautifySettingsADlg (Visio::IVApplicationPtr vsoApp)
 
 ~CBeautifySettingsADlg ()
 
const wchar_t * GetRegistryFolder ()
 
- Public Member Functions inherited from ATL::CSettingsPageDialog
 CSettingsPageDialog (WORD IDD, bool hasHelp, __in_opt DLGPROC dlgProc)
 
HWND Create (HWND hWndParent, LPARAM dwInitParam=NULL)
 
HWND Create (HWND hWndParent, RECT &, LPARAM dwInitParam=NULL)
 
BOOL DestroyWindow ()
 
bool getHasHelp ()
 
void showHelp (LPCTSTR path)
 

Public Attributes

long m_allow_permutation
 
long m_use_original_order
 
long m_use_const_spaces
 
long m_use_total_width
 
long m_use_original_spaces
 
long m_use_first_inst_placements
 
long m_use_left_upper_corner
 
long m_use_own_coordinates
 
long m_use_greedy_alg
 
long m_use_brute_force
 
float m_space_width_value
 
float m_total_width_value
 
float m_x_coordinate_place_value
 
float m_y_coordinate_place_value
 
float m_weight_going_back
 
float m_weight_crossing
 
double m_start_pos_x
 
double m_start_pos_y
 

Private Member Functions

 DDX_CONTROL_HANDLE (IDC_GROUP_ALGORITHMS, m_groupAlgoRdo)
 
void OnDataExchangeError (UINT nCtrlID, BOOL bSave)
 
void OnDataValidateError (UINT nCtrlID, BOOL bSave, _XData &data)
 
BOOL OnApply (WORD wID)
 
BOOL OnHelp ()
 
LRESULT OnInitDialog (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnTrackBar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnConstSpacesRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnTotalWidthRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnOriginalSpaceRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnOriginalOrderRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnPermutationRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnFirstPlacementInsRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnLeftUpperCornerRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnOwnCoordinatesRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnGreedyRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnBruteRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
int LoadRegistryData ()
 
int SaveRegistryData ()
 
void UpdateControls ()
 

Private Attributes

Visio::IVApplicationPtr m_vsoApp
 
double m_page_width
 
double m_page_height
 
double m_grid_x_origin
 
double m_grid_y_origin
 
CButton m_allow_permutationRdo
 
CButton m_use_const_spacesRdo
 
CButton m_use_total_valueRdo
 
CButton m_use_original_orderRdo
 
CButton m_use_original_spacesRdo
 
CButton m_use_first_inst_placementsRdo
 
CButton m_use_left_upper_cornerRdo
 
CButton m_use_own_coordinatesRdo
 
CButton m_use_greedyRdo
 
CButton m_use_bruteRdo
 
CEditImpl m_spaceWidthValue
 
CEditImpl m_totalWidthValue
 
CEditImpl m_xCoordinatePlaceValue
 
CEditImpl m_yCoordinatePlaceValue
 
WTL::CTrackBarCtrl m_TrackBar
 
WTL::CUpDownCtrl m_spinXCoorUD
 
WTL::CUpDownCtrl m_spinYCoorUD
 
WTL::CUpDownCtrl m_spinSpacingUD
 
WTL::CUpDownCtrl m_spinTotalWidthUD
 
WTL::CToolTipCtrl * m_toolTipBar
 
CStatic m_groupAlgoRdo
 

Additional Inherited Members

- Protected Attributes inherited from ATL::CSettingsPageDialog
WORD IDD
 
DLGPROC dlgProc
 
bool hasHelp
 

Detailed Description

Definition at line 46 of file beautifySettingADlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 51 of file beautifySettingADlg.h.

Constructor & Destructor Documentation

CBeautifySettingsADlg::CBeautifySettingsADlg ( Visio::IVApplicationPtr  vsoApp)
inline

Definition at line 53 of file beautifySettingADlg.h.

CBeautifySettingsADlg::~CBeautifySettingsADlg ( )
inline

Definition at line 57 of file beautifySettingADlg.h.

Member Function Documentation

CBeautifySettingsADlg::DDX_CONTROL_HANDLE ( IDC_GROUP_ALGORITHMS  ,
m_groupAlgoRdo   
)
private
const wchar_t* CBeautifySettingsADlg::GetRegistryFolder ( )
inline

Definition at line 60 of file beautifySettingADlg.h.

References SCSTUDIO_REGISTRY_ROOT.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CBeautifySettingsADlg::LoadRegistryData ( )
private
BOOL CBeautifySettingsADlg::OnApply ( WORD  wID)
privatevirtual

Reimplemented from ATL::CSettingsPageDialog.

Definition at line 106 of file beautifySettingADlg.cpp.

References SaveRegistryData().

LRESULT CBeautifySettingsADlg::OnBruteRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 347 of file beautifySettingADlg.cpp.

References m_use_brute_force, m_use_greedy_alg, and UpdateControls().

LRESULT CBeautifySettingsADlg::OnConstSpacesRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
void CBeautifySettingsADlg::OnDataExchangeError ( UINT  nCtrlID,
BOOL  bSave 
)
private

Definition at line 223 of file beautifySettingADlg.cpp.

void CBeautifySettingsADlg::OnDataValidateError ( UINT  nCtrlID,
BOOL  bSave,
_XData &  data 
)
private
LRESULT CBeautifySettingsADlg::OnFirstPlacementInsRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnGreedyRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 339 of file beautifySettingADlg.cpp.

References m_use_brute_force, m_use_greedy_alg, and UpdateControls().

BOOL CBeautifySettingsADlg::OnHelp ( )
privatevirtual

Reimplemented from ATL::CSettingsPageDialog.

Definition at line 125 of file beautifySettingADlg.cpp.

References ATL::CSettingsPageDialog::showHelp().

LRESULT CBeautifySettingsADlg::OnInitDialog ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnLeftUpperCornerRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnOriginalOrderRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnOriginalSpaceRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnOwnCoordinatesRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnPermutationRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnTotalWidthRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CBeautifySettingsADlg::OnTrackBar ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
)
private

Definition at line 70 of file beautifySettingADlg.cpp.

References m_TrackBar.

int CBeautifySettingsADlg::SaveRegistryData ( )
private
void CBeautifySettingsADlg::UpdateControls ( )
private

Member Data Documentation

long CBeautifySettingsADlg::m_allow_permutation
CButton CBeautifySettingsADlg::m_allow_permutationRdo
private

Definition at line 186 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

double CBeautifySettingsADlg::m_grid_x_origin
private

Definition at line 91 of file beautifySettingADlg.h.

double CBeautifySettingsADlg::m_grid_y_origin
private

Definition at line 92 of file beautifySettingADlg.h.

CStatic CBeautifySettingsADlg::m_groupAlgoRdo
private

Definition at line 215 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

double CBeautifySettingsADlg::m_page_height
private

Definition at line 90 of file beautifySettingADlg.h.

double CBeautifySettingsADlg::m_page_width
private

Definition at line 89 of file beautifySettingADlg.h.

float CBeautifySettingsADlg::m_space_width_value

Definition at line 75 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

CEditImpl CBeautifySettingsADlg::m_spaceWidthValue
private

Definition at line 198 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

WTL::CUpDownCtrl CBeautifySettingsADlg::m_spinSpacingUD
private

Definition at line 209 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

WTL::CUpDownCtrl CBeautifySettingsADlg::m_spinTotalWidthUD
private

Definition at line 210 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

WTL::CUpDownCtrl CBeautifySettingsADlg::m_spinXCoorUD
private

Definition at line 207 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

WTL::CUpDownCtrl CBeautifySettingsADlg::m_spinYCoorUD
private

Definition at line 208 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

double CBeautifySettingsADlg::m_start_pos_x

Definition at line 82 of file beautifySettingADlg.h.

double CBeautifySettingsADlg::m_start_pos_y

Definition at line 83 of file beautifySettingADlg.h.

WTL::CToolTipCtrl* CBeautifySettingsADlg::m_toolTipBar
private

Definition at line 213 of file beautifySettingADlg.h.

float CBeautifySettingsADlg::m_total_width_value

Definition at line 76 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

CEditImpl CBeautifySettingsADlg::m_totalWidthValue
private

Definition at line 199 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

WTL::CTrackBarCtrl CBeautifySettingsADlg::m_TrackBar
private

Definition at line 204 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), OnTrackBar(), SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_brute_force

Definition at line 72 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), OnBruteRdo(), OnGreedyRdo(), and UpdateControls().

CButton CBeautifySettingsADlg::m_use_bruteRdo
private

Definition at line 195 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_const_spaces
CButton CBeautifySettingsADlg::m_use_const_spacesRdo
private

Definition at line 187 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_first_inst_placements
CButton CBeautifySettingsADlg::m_use_first_inst_placementsRdo
private

Definition at line 191 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_greedy_alg

Definition at line 71 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), OnBruteRdo(), OnGreedyRdo(), and UpdateControls().

CButton CBeautifySettingsADlg::m_use_greedyRdo
private

Definition at line 194 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_left_upper_corner
CButton CBeautifySettingsADlg::m_use_left_upper_cornerRdo
private

Definition at line 192 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_original_order
CButton CBeautifySettingsADlg::m_use_original_orderRdo
private

Definition at line 189 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_original_spaces
CButton CBeautifySettingsADlg::m_use_original_spacesRdo
private

Definition at line 190 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_own_coordinates
CButton CBeautifySettingsADlg::m_use_own_coordinatesRdo
private

Definition at line 193 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

CButton CBeautifySettingsADlg::m_use_total_valueRdo
private

Definition at line 188 of file beautifySettingADlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CBeautifySettingsADlg::m_use_total_width
Visio::IVApplicationPtr CBeautifySettingsADlg::m_vsoApp
private

Definition at line 86 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

float CBeautifySettingsADlg::m_weight_crossing

Definition at line 80 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and OnInitDialog().

float CBeautifySettingsADlg::m_weight_going_back

Definition at line 79 of file beautifySettingADlg.h.

Referenced by LoadRegistryData().

float CBeautifySettingsADlg::m_x_coordinate_place_value

Definition at line 77 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

CEditImpl CBeautifySettingsADlg::m_xCoordinatePlaceValue
private

Definition at line 200 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().

float CBeautifySettingsADlg::m_y_coordinate_place_value

Definition at line 78 of file beautifySettingADlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

CEditImpl CBeautifySettingsADlg::m_yCoordinatePlaceValue
private

Definition at line 201 of file beautifySettingADlg.h.

Referenced by OnInitDialog(), and UpdateControls().


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