Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

CSAStatusLog - status logger

, 17 Nov 1999 CPOL
A very simple text logger that allows you to use printf-type formatting, with automatic application name and date stamping
// CStatusLogDemoDlg.h : header file
//

#if !defined(AFX_CSTATUSLOGDEMODLG_H__3C809BF6_9DFD_11D3_A10D_00500402F30B__INCLUDED_)
#define AFX_CSTATUSLOGDEMODLG_H__3C809BF6_9DFD_11D3_A10D_00500402F30B__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CCStatusLogDemoDlg dialog

class CCStatusLogDemoDlg : public CDialog
{
// Construction
public:
	CCStatusLogDemoDlg(CWnd* pParent = NULL);	// standard constructor

   ~CCStatusLogDemoDlg();
// Dialog Data
	//{{AFX_DATA(CCStatusLogDemoDlg)
	enum { IDD = IDD_CSTATUSLOGDEMO_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCStatusLogDemoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCStatusLogDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnCancel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CSTATUSLOGDEMODLG_H__3C809BF6_9DFD_11D3_A10D_00500402F30B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Chris Losinger
Software Developer
United States United States
Chris Losinger is the president of Smaller Animals Software, Inc..

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 18 Nov 1999
Article Copyright 1999 by Chris Losinger
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid