SearchDlg.h
上传用户:guangzhiyw
上传日期:2007-01-09
资源大小:495k
文件大小:2k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_SEARCHDLG_H__3DB7E3F6_5A8E_11D5_B16A_8EF54726C300__INCLUDED_)
  2. #define AFX_SEARCHDLG_H__3DB7E3F6_5A8E_11D5_B16A_8EF54726C300__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SearchDlg.h : header file
  7. //
  8. class CFriendDetailDlg;
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSearchDlg dialog
  11. class CSearchDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CSearchDlg(CWnd* pParent = NULL);   // standard constructor
  16. CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};
  17. // Dialog Data
  18. //{{AFX_DATA(CSearchDlg)
  19. enum { IDD = IDD_SEARCH };
  20. CEdit m_Name;
  21. CEdit m_ID;
  22. CListCtrl m_List;
  23. int m_RID;
  24. //}}AFX_DATA
  25. HICON hIcon;
  26. CFriendDetailDlg * m_pDlg;
  27. UserInfo Info;
  28. BOOL bCancel;
  29. BOOL bStartSearch;
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CSearchDlg)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CSearchDlg)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
  42. afx_msg void OnRclickList1(NMHDR* pNMHDR, LRESULT* pResult);
  43. afx_msg void OnRadioId();
  44. afx_msg void OnRadioName();
  45. afx_msg void OnFriendsDetail();
  46. afx_msg void OnAddFriend();
  47. virtual void OnOK();
  48. afx_msg void OnClose();
  49. virtual void OnCancel();
  50. //}}AFX_MSG
  51. afx_msg LRESULT OnRecvSearch(WPARAM wParam,LPARAM lParam);
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_SEARCHDLG_H__3DB7E3F6_5A8E_11D5_B16A_8EF54726C300__INCLUDED_)