summaryrefslogtreecommitdiff
path: root/xfa_test/FormFiller_Test/FX_SplitterWnd.h
diff options
context:
space:
mode:
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_)