⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 brow.h

📁 ado操作数据库。oracle,sql2000只需更换连接字符串即可。 另外说明 我是原创作者。 欢迎大家和我交流 msn:hans_38@163.net
💻 H
字号:
#if !defined(AFX_BROW_H__756434D4_7524_45B9_8BB4_695CC5F191CF__INCLUDED_)
#define AFX_BROW_H__756434D4_7524_45B9_8BB4_695CC5F191CF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Brow.h : header file
//

#include "SystemTray.h"

/////////////////////////////////////////////////////////////////////////////
// CBrow dialog

class CBrow : public CDialog
{
// Construction
public:
	CBrow(CWnd* pParent = NULL);   // standard constructor
	virtual BOOL OnInitDialog();
	static CString g_strItem;
	void OnOK();
	CString m_strSelectCom;
	CSystemTray m_TrayIcon; 
	void CreateTrayIcon();
	BOOL m_bTray;
	void OnMinToTray();
	BOOL m_bMinToTray;
	enum DataTableType{telelist, p2p, mail, forum} m_DataTableType;
	BOOL m_bSQL;
	CToolTipCtrl m_tooltip;
	

// Dialog Data
	//{{AFX_DATA(CBrow)
	enum { IDD = IDD_DIALOG_MAIN };
	CStatic	m_StaticCtl;
	CComboBox	m_ComboxSelect;
	CListCtrl	m_ListCtrl;
	CString	m_strItem;
	CString	m_strSelect;
	CString	m_strI;
	CString	m_strSQL;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBrow)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
	//}}AFX_VIRTUAL

// Implementation
//protected:
	public:
		void Select(CString SQL);
		CString GetCurrentTime();
		void AddMail();
		void AddTeleList();
		void QueryMail();
		void QueryTeleList();

		void BrowForum();
		void BrowMail();
		void BrowP2P();
		
		void HeaderP2p();
		void HeaderTele();
		void HeaderForum();
		void HeaderMail();

		HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CBrow)
	afx_msg void OnButtonDel();
	afx_msg void OnButtonAdd();
	afx_msg void QueryAll();
	afx_msg void OnButtonModify();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRdblclkList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnSelchangeComboSelect();
	afx_msg LRESULT OnTrayNotification(WPARAM wParam, LPARAM lParam) ;
	afx_msg void OnAppAbout();
	afx_msg void OnShow();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnP2p();
	afx_msg void OnTelelist();
	afx_msg void OnForum();
	afx_msg void OnMail();
	afx_msg void OnButtonRecent();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnAdd();
	afx_msg void OnDel();
	afx_msg void OnUpdate();
	afx_msg void OnButtonSql();
	afx_msg void OnButtonAddsql();
	afx_msg void OnButtonDelsql();
	afx_msg void OnButtonUpdatesql();
	afx_msg void OnButtonSelectsql();
	afx_msg void OnMenuitemAbout();
	afx_msg void OnMenuitemHelp();
	afx_msg void OnName();
	afx_msg void OnNo();
	afx_msg void OnDate();
	afx_msg void OnRecent();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BROW_H__756434D4_7524_45B9_8BB4_695CC5F191CF__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -