summaryrefslogtreecommitdiff
path: root/xfa_test/FormFiller_Test/FX_SplitterWnd.h
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-10-28 23:03:33 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-11-03 11:10:11 -0800
commitfdc00a7042d912aafaabddae4d9c84199921ef23 (patch)
tree32ab8ac91cc68d2cd15b9168782a71b3f3f5e7b9 /xfa_test/FormFiller_Test/FX_SplitterWnd.h
parente9b38fa38de2c95d8260be31c57d9272c4d127ed (diff)
downloadpdfium-fdc00a7042d912aafaabddae4d9c84199921ef23.tar.xz
Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
Diffstat (limited to 'xfa_test/FormFiller_Test/FX_SplitterWnd.h')
-rw-r--r--xfa_test/FormFiller_Test/FX_SplitterWnd.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/xfa_test/FormFiller_Test/FX_SplitterWnd.h b/xfa_test/FormFiller_Test/FX_SplitterWnd.h
new file mode 100644
index 0000000000..94893c9719
--- /dev/null
+++ b/xfa_test/FormFiller_Test/FX_SplitterWnd.h
@@ -0,0 +1,44 @@
+// FX_SplitterWnd.h: interface for the CFX_SplitterWnd class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_)
+#define AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+class CFX_SplitterWnd : public CSplitterWnd
+{
+public:
+ CFX_SplitterWnd();
+ virtual ~CFX_SplitterWnd();
+
+public:
+ virtual void OnDrawSplitter(CDC *pDC,ESplitType nType,const CRect &rectArg);
+ virtual void RecalcLayout();
+ static void DeferClientPos(AFX_SIZEPARENTPARAMS *lpLayout,CWnd *pWnd,int x,int y,int cx,int cy,BOOL bScrollBar);
+ static void LayoutRowCol(CSplitterWnd::CRowColInfo *pInfoArray,int nMax,int nSize,int nSizeSplitter);
+ void LockBar(BOOL bState=TRUE){m_bBarLocked=bState;}
+ void HideColumn(int nCol);
+ void ShowColumn();
+
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CFX_SplitterWnd)
+ //}}AFX_VIRTUAL
+
+ // Generated message map functions
+protected:
+ //{{AFX_MSG(CFX_SplitterWnd)
+ afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
+ afx_msg void OnMouseMove(UINT nFlags, CPoint point);
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+protected:
+ BOOL m_bBarLocked;
+ int m_nHidedCol;
+
+};
+
+#endif // !defined(AFX_FX_SPLITTERWND_H__4BF45CD9_0C9D_4223_9D0E_9ECA148F49FB__INCLUDED_)