Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa_test / FormFiller_Test / FX_SplitterWnd.h
1 // FX_SplitterWnd.h: interface for the CFX_SplitterWnd class.\r
2 //\r
3 //////////////////////////////////////////////////////////////////////\r
4 \r
5 #if !defined(AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_)\r
6 #define AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_\r
7 \r
8 #if _MSC_VER > 1000\r
9 #pragma once\r
10 #endif // _MSC_VER > 1000\r
11 \r
12 class CFX_SplitterWnd : public CSplitterWnd\r
13 {\r
14 public:\r
15         CFX_SplitterWnd();\r
16         virtual ~CFX_SplitterWnd();\r
17 \r
18 public:\r
19         virtual void    OnDrawSplitter(CDC *pDC,ESplitType nType,const CRect &rectArg);\r
20         virtual void    RecalcLayout();\r
21         static  void    DeferClientPos(AFX_SIZEPARENTPARAMS *lpLayout,CWnd *pWnd,int x,int y,int cx,int cy,BOOL bScrollBar);\r
22         static  void    LayoutRowCol(CSplitterWnd::CRowColInfo *pInfoArray,int nMax,int nSize,int nSizeSplitter);\r
23         void                    LockBar(BOOL bState=TRUE){m_bBarLocked=bState;}\r
24         void                    HideColumn(int nCol);\r
25         void                    ShowColumn();\r
26 \r
27         // ClassWizard generated virtual function overrides\r
28         //{{AFX_VIRTUAL(CFX_SplitterWnd)\r
29         //}}AFX_VIRTUAL\r
30 \r
31         // Generated message map functions\r
32 protected:\r
33         //{{AFX_MSG(CFX_SplitterWnd)\r
34         afx_msg void OnLButtonDown(UINT nFlags, CPoint point);\r
35         afx_msg void OnMouseMove(UINT nFlags, CPoint point);\r
36         //}}AFX_MSG\r
37         DECLARE_MESSAGE_MAP()\r
38 protected:\r
39         BOOL    m_bBarLocked;\r
40         int             m_nHidedCol;\r
41 \r
42 };\r
43 \r
44 #endif // !defined(AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_)\r