isecombobox.h
来自「动态连接ODBC数据库.使用通过数据源的名称动态链接访问ODBC数据库」· C头文件 代码 · 共 63 行
H
63 行
#if !defined(AFX_ISECOMBOBOX_H__AFB5004F_21D2_11D3_AC88_CE5F38AE4A45__INCLUDED_)
#define AFX_ISECOMBOBOX_H__AFB5004F_21D2_11D3_AC88_CE5F38AE4A45__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ISEComboBox.h : header file
//
#include "ConnectionPool.h"
/////////////////////////////////////////////////////////////////////////////
// CISEComboBox window
class CISEComboBox : public CComboBox
{
// Construction
public:
CISEComboBox();
// Attributes
public:
// HotTip List : List is sorted
CStringList m_StringList;
CConnectionPool *m_pConPool;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CISEComboBox)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
void SetConnectionPool(CConnectionPool *pConPool);
CString m_sDSN;
CString m_sTableName;
CString GetConcatinationString(CString sCurValue);
BOOL m_bAutoComplete;
CString m_sColumnName;
virtual ~CISEComboBox();
// Generated message map functions
protected:
//{{AFX_MSG(CISEComboBox)
afx_msg void OnEditupdate();
afx_msg void OnDropdown();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ISECOMBOBOX_H__AFB5004F_21D2_11D3_AC88_CE5F38AE4A45__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?