activexdlg.h
来自「学习VC的一些例子」· C头文件 代码 · 共 63 行
H
63 行
// ActiveXDlg.h : header file
//
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_ACTIVEXDLG_H__1B1D7CC7_876D_11D5_BB9F_00A0C9E321FD__INCLUDED_)
#define AFX_ACTIVEXDLG_H__1B1D7CC7_876D_11D5_BB9F_00A0C9E321FD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CActiveXDlg dialog
class CActiveXDlg : public CDialog
{
// Construction
public:
CActiveXDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CActiveXDlg)
enum { IDD = IDD_ACTIVEX_DIALOG };
CMSFlexGrid m_ctlFGrid;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CActiveXDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CActiveXDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExit();
afx_msg void OnMouseDownMsfgrid(short Button, short Shift, long x, long y);
afx_msg void OnMouseUpMsfgrid(short Button, short Shift, long x, long y);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_iMouseCol;
void DoSort();
CString RandomStringValue(int m_iColumn);
int GenID(int m_iRow, int m_iCol);
void Loaddata();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ACTIVEXDLG_H__1B1D7CC7_876D_11D5_BB9F_00A0C9E321FD__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?