Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

73 lines
2.0 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 13/04/2001
// PROJECT:
// SUBSYSTEM:
// FILE: ClockWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of ClockWnd.h
//----------------------------------------------------------------------------
#if !defined(AFX_CLOCKWND_H__A8474C81_8187_11D4_A1FB_00508B9DC668__INCLUDED_)
#define AFX_CLOCKWND_H__A8474C81_8187_11D4_A1FB_00508B9DC668__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClockWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CClockWnd window
class CClockWnd : public CWnd
{
// Construction
public:
CClockWnd();
CSize& GetActualSize() { return m_ActualSize; }
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClockWnd)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CClockWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CClockWnd)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void PaintTime( CDC *pDC );
INT m_nDigitType;
CDC m_DigitsDC;
CBitmap m_DigitsBitmap;
CBitmap *m_pDigitsBitmapOld;
CSize m_ActualSize;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLOCKWND_H__A8474C81_8187_11D4_A1FB_00508B9DC668__INCLUDED_)