// MainFrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAINFRM_H__2486F51E_8985_401E_AB91_D618397AED05__INCLUDED_) #define AFX_MAINFRM_H__2486F51E_8985_401E_AB91_D618397AED05__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "BCMenu.h" #include "TrueColorToolBar.h" #include "MyMdi.H" #include "ClientWnd.h" #include "TrayIcon.h" class CMainFrame : public CMDIFrameWnd { CTrayIcon m_TrayIcon; CClientWnd m_wndClient; HICON m_hIcon; protected: // create from serialization only DECLARE_DYNCREATE(CMainFrame) // Attributes public: CMainFrame(); CMyMdi m_Mdi; // Operations public: LRESULT OnAbortClose(WPARAM wParam, LPARAM lParam); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL PreTranslateMessage(MSG* pMsg); //}}AFX_VIRTUAL // Implementation public: HMENU NewMenu(); virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // control bar embedded members CTrueColorToolBar m_wndToolBar; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnClose(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnToday(); afx_msg void OnDindan(); afx_msg void OnMsgreg(); afx_msg void OnExit(); afx_msg void OnOpen(); afx_msg void OnAutorun(); afx_msg void OnClientip(); afx_msg void OnLog(); afx_msg void OnClientip2(); //}}AFX_MSG LRESULT OnTrayNotification(WPARAM wParam,LPARAM lParam); #if defined(VC70) || defined(VC60) afx_msg UINT OnNcHitTest(CPoint point); #else afx_msg LRESULT OnNcHitTest(CPoint point); #endif afx_msg void OnNcLButtonDblClk(UINT nFlags, CPoint point); DECLARE_MESSAGE_MAP() public: void OnExit2(); void ChangePsw(); void PrintDinDan2(CString m_id); void OnHistory(UINT nID); void AddHistoryMenu(CArray*hisyeararray); void GetOcx(); void ToPhotoPrint(); void SetSelFolder(int pos); void PrintFlowChart(CString m_id); void PrintDinDan(CString m_id); void GetSkin(); void AutoUpdate(); void OnOutbarNotify(CString str); void ProcessChatMessageRequest2(BYTE code); void ProcessChatMessageRequest2(CString sql); void ProcessChatMessageRequest2(BYTE *pData, int length); void OnDisconnect(); BOOL OnConnect(); DWORD GetConnectionID(); void SetConnectionID(DWORD dwConnection); BOOL ProcessChatMessageRequest(void *szDataBuf, int nDataLen); void ProcessChatMessageResponse(void *pResponse); void ProcessLoginResponse(void *pLoginResult); BOOL ProcessLoginRequest(); void ProcessNetEvent(int nEventType, void *pRecvMsg, DWORD dwDataLen); private: DWORD m_dwConnectionID; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__2486F51E_8985_401E_AB91_D618397AED05__INCLUDED_)