CCLicenseLocationDlg Class Reference

License stamp location dialog. More...

#include <CCLicenseLocationDlg.h>

Inherits CCPrintDlg.

Collaboration diagram for CCLicenseLocationDlg:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

License stamp location dialog.

Definition at line 37 of file CCLicenseLocationDlg.h.


Constructor & Destructor Documentation

CCLicenseLocationDlg::CCLicenseLocationDlg ( SIZE  szPageSize,
RECT &  rectLocation 
) [inline]

Constructor.

Parameters:
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.


Member Function Documentation

POINT CCLicenseLocationDlg::GetLocation (  )  const [inline]

Retrieves the current location of the stamp.

Returns:
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.

Parameters:
uMsg ID of the message
wParam First parameter of the message
lParam Second parameter of the message
Returns:
TRUE if handled, FALSE to continue handling 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().


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

Generated on Mon Jun 18 12:40:41 2012 for CC PDF Converter by doxygen 1.6.1