www.pudn.com > LayeredBitmapCtrl_demo.zip > LayeredBitmapCtrlDemoDlg.h
// LayeredBitmapCtrlDemoDlg.h : header file
//
#if !defined(AFX_LAYEREDBITMAPCTRLDEMODLG_H__A0792F25_4053_422F_9A0F_C05437644506__INCLUDED_)
#define AFX_LAYEREDBITMAPCTRLDEMODLG_H__A0792F25_4053_422F_9A0F_C05437644506__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "LayeredBitmapCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CLayeredBitmapCtrlDemoDlg dialog
class CLayeredBitmapCtrlDemoDlg : public CDialog
{
// Construction
public:
CLayeredBitmapCtrlDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLayeredBitmapCtrlDemoDlg)
enum { IDD = IDD_LAYEREDBITMAPCTRLDEMO_DIALOG };
CLayeredBitmapCtrl m_layeredDisplay;
CComboBox m_layer1Combo;
CComboBox m_layer2Combo;
CComboBox m_layer3Combo;
CComboBox m_layer4Combo;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLayeredBitmapCtrlDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void SetupLayers();
void CreateGridLayer();
void CreateTriangleLayer();
void CreateEllipseLayer();
void SetupComboBoxes();
// Generated message map functions
//{{AFX_MSG(CLayeredBitmapCtrlDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSelchangeLayer1Combo();
afx_msg void OnSelchangeLayer2Combo();
afx_msg void OnSelchangeLayer3Combo();
afx_msg void OnSelchangeLayer4Combo();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LAYEREDBITMAPCTRLDEMODLG_H__A0792F25_4053_422F_9A0F_C05437644506__INCLUDED_)