License stamp location dialog. More...
#include <CCLicenseLocationDlg.h>
Inherits CCPrintDlg.
Public Member Functions | |
CCLicenseLocationDlg (SIZE szPageSize, RECT &rectLocation) | |
Constructor. | |
POINT | GetLocation () const |
Retrieves the current location of the stamp. | |
Protected Member Functions | |
virtual BOOL | PageProc (UINT uMsg, WPARAM wParam, LPARAM lParam) |
Called when a windows message is sent to the page. | |
void | UpdateXyTextboxes () |
Sets the current stamp location in the edit boxes. | |
Protected Attributes | |
double | m_dRatio |
The aspect ratio of the page. | |
POINT | m_ptLocation |
The current location of the stamp. | |
CCLicenseLocationWnd | m_wndLocation |
Stamp location windows (enables user to drag the stamp around). | |
bool | m_bSettingEdit |
true when the edit boxes are being set by the application (and not the user) |
License stamp location dialog.
Definition at line 37 of file CCLicenseLocationDlg.h.
CCLicenseLocationDlg::CCLicenseLocationDlg | ( | SIZE | szPageSize, | |
RECT & | rectLocation | |||
) | [inline] |
Constructor.
szPageSize | Size of the page (in pixels) | |
rectLocation | Current location of stamp on the page (also specifies the size of the stamp) |
Definition at line 46 of file CCLicenseLocationDlg.h.
POINT CCLicenseLocationDlg::GetLocation | ( | ) | const [inline] |
Retrieves the current location of the stamp.
Definition at line 65 of file CCLicenseLocationDlg.h.
References m_ptLocation.
Referenced by CCLicensePropPage::PageProc().
BOOL CCLicenseLocationDlg::PageProc | ( | UINT | uMsg, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [protected, virtual] |
Called when a windows message is sent to the page.
uMsg | ID of the message | |
wParam | First parameter of the message | |
lParam | Second parameter of the message |
Reimplemented from CCPrintDlg.
Definition at line 38 of file CCLicenseLocationDlg.cpp.
References CCLicenseLocationWnd::CreateWnd(), CCPrintDlg::GetDlgItem(), CCLicenseLocationWnd::GetLicenseLocation(), m_bSettingEdit, CCPrintDlg::m_hDlg, m_ptLocation, m_wndLocation, CCLicenseLocationWnd::SetXLocation(), CCLicenseLocationWnd::SetYLocation(), UM_LICENSEMOVED, and UpdateXyTextboxes().