OAMFRAMEWND.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:2k
- #if !defined(AFX_OAMFRAMEWND_H__112ECEE8_0C04_11D3_BAAE_12345600558E__INCLUDED_)
- #define AFX_OAMFRAMEWND_H__112ECEE8_0C04_11D3_BAAE_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // OAMFrameWnd.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // COAMFrameWnd frame
- class COAMSizeDockBar;
- class COAMFrameWnd : public CFrameWnd
- {
- DECLARE_DYNCREATE(COAMFrameWnd)
- protected:
- COAMFrameWnd(); // protected constructor used by dynamic creation
- // Attributes
- public:
- protected:
- int m_aInitialSize[4]; /*用于屏幕的布置*/
- static DWORD dwDockBarMap[4][2];
- // Operations
- public:
- void SetInitialSize(int top, int bottom, int left, int right);
- void RecalcAllExcept(COAMSizeDockBar *pBar);
- void EnableDocking(DWORD dwDockStyle);
- void EnableDockingSizeBar(DWORD dwDockStyle);
- void DockSizeBar(CControlBar *,COAMSizeDockBar* =NULL,LPRECT =NULL);
- void DockControlBarLeftOf(CControlBar* Bar, CControlBar* LeftOf);
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COAMFrameWnd)
- public:
- virtual void RecalcLayout(BOOL bNotify = TRUE);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~COAMFrameWnd();
- // Generated message map functions
- //{{AFX_MSG(COAMFrameWnd)
- // afx_msg void OnSetagent();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OAMFRAMEWND_H__112ECEE8_0C04_11D3_BAAE_12345600558E__INCLUDED_)