MyTabCtrl.h
上传用户:gnaf34
上传日期:2022-04-22
资源大小:1657k
文件大小:2k
- /*
- * MyTabCtrl.h
- *
- * Header file
- *
- * Copyright (c) ITEC-Ohio, 2002.
- *
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- * the License for the specific language governing rights and limitations
- * under the License.
- *
- * The Original Code is Open H323 Library available at http://www.openh323.org
- * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
- *
- */
- #if !defined(AFX_MYTABCTRL_H__07989033_00D4_463A_9242_C04925E5B657__INCLUDED_)
- #define AFX_MYTABCTRL_H__07989033_00D4_463A_9242_C04925E5B657__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMyTabCtrl window
- class BeaconClient;
- class CMyTabCtrl : public CTabCtrl
- {
- public:
- CDialog *m_tabPages[4];
- int m_tabCurrent;
- int m_nNumberOfPages;
- // Construction
- public:
- static CMyTabCtrl* Instance();
- CMyTabCtrl();
- void Init();
- void SetRectangle();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyTabCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void SetHwndTab(HWND pHwnd);
- HWND m_hwnd_Tab;
- void CheckTab();
- int m_cursel;
- int m_tabTemp;
- virtual ~CMyTabCtrl();
- // Generated message map functions
- private:
- static CMyTabCtrl* _instance;
-
- protected:
-
- //{{AFX_MSG(CMyTabCtrl)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYTABCTRL_H__07989033_00D4_463A_9242_C04925E5B657__INCLUDED_)