class CODZoomDlg: public CDialog
Dialog to select zoom magnification.
Defined in: OdZoomDlg.h
VIEWS_API CODZoomDlg(CWnd* pParent = NULL)
Standard constructor.
VIEWS_API CODZoomDlg(UINT nID, CWnd* pParent = NULL)
Constructor.
VIEWS_API virtual ~CODZoomDlg()
Destructor.
Zoom dialog resource ID.
UINT m_nMagnification
Selected magnification value.
VIEWS_API int GetMagnification() const
Gets the magnification
VIEWS_API void SetMagnification(const int nMagnification)
Sets the magnification
VIEWS_API void SetRange(const int nMin, const int nMax)
Sets the range of acceptable values
protected:
Performs dialog data exchange.
UINT m_nMinMagnification
The minimum allowable magnification value.
UINT m_nMaxMagnification
The maximum allowable magnification value.
VIEWS_API virtual BOOL OnInitDialog()
Called when the dialog is initialized.