DragonNest/Third/XTToolkitPro/Samples/UserInterface/GUI_Office11/splash.h
2024-12-19 09:48:26 +08:00

68 lines
1.6 KiB
C++

// splash.h : header file
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2008 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSENT OF CODEJOCK SOFTWARE.
//
// THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
// IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
// YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
// SINGLE COMPUTER.
//
// CONTACT INFORMATION:
// support@codejock.com
// http://www.codejock.com
//
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CBigIcon window
class CBigIcon : public CButton
{
// Attributes
public:
CBitmap m_bitmap;
CSize m_sizeBitmap;
// Operations
public:
void SizeToContent();
// Implementation
protected:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//{{AFX_MSG(CBigIcon)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CSplash dialog
class CSplashWnd : public CDialog
{
// Construction
public:
BOOL Create(CWnd* pParent);
// Dialog Data
//{{AFX_DATA(CSplashWnd)
enum { IDD = IDD_SPLASH };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Implementation
protected:
CBigIcon m_icon; // self-draw button
// Generated message map functions
//{{AFX_MSG(CSplashWnd)
virtual BOOL OnInitDialog();
//}}AFX_MSG
};