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

#include <snapGlobalDlg.h>

Inheritance diagram for CSnapGlobalDlg:
Inheritance graph
Collaboration diagram for CSnapGlobalDlg:
Collaboration graph

Public Types

enum  { IDD = IDD_SNAP_GLOBAL }
 

Public Member Functions

 CSnapGlobalDlg (Visio::IVApplicationPtr vsoApp)
 
 ~CSnapGlobalDlg ()
 
BOOL OnInitDialog (HWND hWndFocus, LPARAM lParam)
 
BOOL OnApply (WORD wID)
 
BOOL OnHelp ()
 
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)
 

Protected Member Functions

 DDX_CHECK (IDC_BUTTONS_ENABLED, m_bButtonsEnabled)
 
 DDX_CHECK (IDC_KEYS_ENABLED, m_bKeysEnabled)
 
 DDX_CHECK (IDC_SNAP_ENABLED, m_bSnapEnabled)
 
 DDX_CHECK (IDC_EDGE_THREATMENT_ENABLED, m_bEdgeTreatmentEnabled)
 
 DDX_RADIO (IDC_STRAIGHTEN, m_iRadioSelection)
 
 DDX_RADIO (IDC_EDGE_PRESERVE_TYPE, m_iEdgeRadioSelection)
 
int LoadRegistryData ()
 
int SaveRegistryData ()
 
void EnableControls (bool bEnable=true)
 
LRESULT OnBnClickedEdgeEnabled (WORD, WORD, HWND, BOOL &)
 

Protected Attributes

bool m_bKeysEnabled
 
bool m_bSnapEnabled
 
bool m_bButtonsEnabled
 
bool m_bOnlyOnLine
 
bool m_bEdgeTreatmentEnabled
 
int m_iRadioSelection
 
int m_iEdgeRadioSelection
 
Visio::IVApplicationPtr m_vsoApp
 
- Protected Attributes inherited from ATL::CSettingsPageDialog
WORD IDD
 
DLGPROC dlgProc
 
bool hasHelp
 

Detailed Description

Definition at line 28 of file snapGlobalDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 33 of file snapGlobalDlg.h.

Constructor & Destructor Documentation

CSnapGlobalDlg::CSnapGlobalDlg ( Visio::IVApplicationPtr  vsoApp)
inline

Definition at line 35 of file snapGlobalDlg.h.

CSnapGlobalDlg::~CSnapGlobalDlg ( )

Definition at line 27 of file snapGlobalDlg.cpp.

References ATL::CSettingsPageDialog::DestroyWindow().

Member Function Documentation

CSnapGlobalDlg::DDX_CHECK ( IDC_BUTTONS_ENABLED  ,
m_bButtonsEnabled   
)
protected
CSnapGlobalDlg::DDX_CHECK ( IDC_KEYS_ENABLED  ,
m_bKeysEnabled   
)
protected
CSnapGlobalDlg::DDX_CHECK ( IDC_SNAP_ENABLED  ,
m_bSnapEnabled   
)
protected
CSnapGlobalDlg::DDX_CHECK ( IDC_EDGE_THREATMENT_ENABLED  ,
m_bEdgeTreatmentEnabled   
)
protected
CSnapGlobalDlg::DDX_RADIO ( IDC_STRAIGHTEN  ,
m_iRadioSelection   
)
protected
CSnapGlobalDlg::DDX_RADIO ( IDC_EDGE_PRESERVE_TYPE  ,
m_iEdgeRadioSelection   
)
protected
void CSnapGlobalDlg::EnableControls ( bool  bEnable = true)
protected

Definition at line 92 of file snapGlobalDlg.cpp.

References IDC_EDGE_CHANGE_TYPE, and IDC_EDGE_PRESERVE_TYPE.

Referenced by OnBnClickedEdgeEnabled(), and OnInitDialog().

const wchar_t* CSnapGlobalDlg::GetRegistryFolder ( )
inline

Definition at line 84 of file snapGlobalDlg.h.

References SCSTUDIO_REGISTRY_ROOT.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CSnapGlobalDlg::LoadRegistryData ( )
protected
BOOL CSnapGlobalDlg::OnApply ( WORD  wID)
virtual

Reimplemented from ATL::CSettingsPageDialog.

Definition at line 45 of file snapGlobalDlg.cpp.

References SaveRegistryData().

LRESULT CSnapGlobalDlg::OnBnClickedEdgeEnabled ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
protected

Definition at line 98 of file snapGlobalDlg.cpp.

References EnableControls(), and m_bEdgeTreatmentEnabled.

BOOL CSnapGlobalDlg::OnHelp ( )
virtual

Reimplemented from ATL::CSettingsPageDialog.

Definition at line 58 of file snapGlobalDlg.cpp.

References ATL::CSettingsPageDialog::showHelp().

BOOL CSnapGlobalDlg::OnInitDialog ( HWND  hWndFocus,
LPARAM  lParam 
)

Definition at line 33 of file snapGlobalDlg.cpp.

References EnableControls(), LoadRegistryData(), and m_bEdgeTreatmentEnabled.

int CSnapGlobalDlg::SaveRegistryData ( )
protected

Member Data Documentation

bool CSnapGlobalDlg::m_bButtonsEnabled
protected

Definition at line 63 of file snapGlobalDlg.h.

Referenced by LoadRegistryData().

bool CSnapGlobalDlg::m_bEdgeTreatmentEnabled
protected
bool CSnapGlobalDlg::m_bKeysEnabled
protected

Definition at line 61 of file snapGlobalDlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

bool CSnapGlobalDlg::m_bOnlyOnLine
protected

Definition at line 64 of file snapGlobalDlg.h.

bool CSnapGlobalDlg::m_bSnapEnabled
protected

Definition at line 62 of file snapGlobalDlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CSnapGlobalDlg::m_iEdgeRadioSelection
protected

Definition at line 67 of file snapGlobalDlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CSnapGlobalDlg::m_iRadioSelection
protected

Definition at line 66 of file snapGlobalDlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().

Visio::IVApplicationPtr CSnapGlobalDlg::m_vsoApp
protected

Definition at line 69 of file snapGlobalDlg.h.


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

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