www.pudn.com > DesktopSearchBar.rar > CamelDlg.h


// CamelDlg.h : header file 
// 
 
#if !defined(AFX_CAMELDLG_H__363ACE31_DBCF_4E72_822F_CB5A5C5269A0__INCLUDED_) 
#define AFX_CAMELDLG_H__363ACE31_DBCF_4E72_822F_CB5A5C5269A0__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CCamelDlg dialog 
 
class CCamelDlg : public CDialog 
{ 
// Construction 
public: 
	CCamelDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CCamelDlg) 
	enum { IDD = IDD_CAMEL_DIALOG }; 
	CEdit	m_kw; 
	CButton	m_yahoo; 
	CButton	m_soso; 
	CButton	m_google; 
	CButton	m_baidu; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CCamelDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 
 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CCamelDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnSearch(); 
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 
	afx_msg void OnMenuAbout(); 
	afx_msg void OnMenuExit(); 
	afx_msg void OnMenuHelp(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnMenuAuto(); 
	afx_msg void OnMenuHide(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	RECT screen_rect; 
	CString CH_to_URLencode(CString keywords); 
	LPTSTR coverChinesetoANSI(LPWSTR szSource, int nEncoding); 
	int i_ifShow; 
	CStatic m_pic; 
	void OpenURL(CString &server_url, CString &str_kw, int showCmd); 
	NOTIFYICONDATA m_tnid; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CAMELDLG_H__363ACE31_DBCF_4E72_822F_CB5A5C5269A0__INCLUDED_)