1.3 updates

This commit is contained in:
troyengel 2014-11-26 14:26:40 -06:00
parent bb4769dbba
commit 78071b1635
13 changed files with 627 additions and 725 deletions

View file

@ -35,12 +35,6 @@ protected:
int nSortedCol;
BOOL bSortAscending;
int m_nCharWidth;
int m_nRowHeight;
int m_nRowsPerPage;
int m_nHighlight;
CFont m_PrinterFont;
// Operations
public:
void MakeDatabase();
@ -61,7 +55,6 @@ public:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
@ -95,10 +88,7 @@ protected:
void SaveColPos();
void SetupColumns();
void PrintColumnHeadings(CDC *pDC, CPrintInfo *pInfo);
void PrintHeader(CDC *pDC, CPrintInfo *pInfo);
void PrintFooter(CDC *pDC, CPrintInfo *pInfo);
int DrawRow(CDC *pDC, int nItem);
BOOL PrintMerge(CString strTemplate);
// Generated message map functions
protected:
@ -148,6 +138,7 @@ protected:
afx_msg void OnViewColpos();
afx_msg void OnEntryCopy();
afx_msg void OnUpdateEntryCopy(CCmdUI* pCmdUI);
afx_msg void OnFilePrintMerge();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void ChangeListCtrlStyle(long lStyle, BOOL bSetBit);