ActiveX


TestMyCtrlDlg.h


// TestMyCtrlDlg.h : header file

//

//{{AFX_INCLUDES()

#include "myctrl.h"

//}}AFX_INCLUDES

#if !defined(AFX_TESTMYCTRLDLG_H__80E61EA7_5D6E_11D4_BCC0_00A0C955FA9E__INCLUDED_)

#define AFX_TESTMYCTRLDLG_H__80E61EA7_5D6E_11D4_BCC0_00A0C955FA9E__INCLUDED_

#if _MSC_VER > 1000

#pragma once

#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////

// CTestMyCtrlDlg dialog

class CTestMyCtrlDlg : public CDialog

{

// Construction

public:

CTestMyCtrlDlg(CWnd* pParent = NULL); // standard constructor

// Dialog Data

//{{AFX_DATA(CTestMyCtrlDlg)

enum { IDD = IDD_TESTMYCTRL_DIALOG };

CString m_Message;

CMyCtrl m_MyCtrl;

CString m_newText;

CString m_Tick;

//}}AFX_DATA

// ClassWizard generated virtual function overrides

//{{AFX_VIRTUAL(CTestMyCtrlDlg)

protected:

virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support

//}}AFX_VIRTUAL

// Implementation

protected:

HICON m_hIcon;

// Generated message map functions

//{{AFX_MSG(CTestMyCtrlDlg)

virtual BOOL OnInitDialog();

afx_msg void OnSysCommand(UINT nID, LPARAM lParam);

afx_msg void OnPaint();

afx_msg HCURSOR OnQueryDragIcon();

afx_msg void OnSelectMyctrl(BOOL IsSelected);

afx_msg void OnTickMyctrl(long ltick);

afx_msg void OnText();

afx_msg void OnTimer();

afx_msg void OnShape();

DECLARE_EVENTSINK_MAP()

//}}AFX_MSG

DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}

// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTMYCTRLDLG_H__80E61EA7_5D6E_11D4_BCC0_00A0C955FA9E__INCLUDED_)




- -  - -  - -