CODZoomDlg Class
class CODZoomDlg: public CDialog
Dialog to select zoom magnification.Defined in: OdZoomDlg.h
Class Members
CODZoomDlg(CWnd* pParent = NULL)
Standard constructor.
CODZoomDlg(UINT nID, CWnd* pParent = NULL)
Constructor.
virtual ~CODZoomDlg()
Destructor.
Zoom dialog resource ID.
UINT m_nMagnification
Selected magnification value.
int GetMagnification() const
Gets the magnification
void SetMagnification(const int nMagnification)
Sets the magnification
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.
virtual BOOL OnInitDialog()
Called when the dialog is initialized.