MFC
Class CSplitterWnd
CObject
|
+--CCmdTarget
|
+--CWnd
|
+--CSplitterWnd
in AFXEXT.H
- class CSplitterWnd
- extends CWnd
Splitter Window
| Fields inherited from class CWnd |
m_hWnd, wndTop, wndBottom, wndTopMost, wndNoTopMost, m_hWndOwner, m_nFlags, m_pfnSuper, m_nMsgDragList, m_nModalResult, m_pDropTarget, m_pCtrlCont, m_pCtrlSite, messageMap |
| Fields inherited from class CCmdTarget |
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer |
|
Method Summary |
virtual void |
ActivateNext( BOOL bPrev = FALSE )
|
virtual BOOL |
CanActivateNext( BOOL bPrev = FALSE )
|
BOOL |
Create( CWnd* pParentWnd, int nMaxRows, int nMaxCols, SIZE sizeMin, CCreateContext* pContext, DWORD dwStyle = WS_CHILD| WS_VISIBLE| WS_HSCROLL| WS_VSCROLL| 0x0001, UINT nID = AFX_IDW_PANE_FIRST )
|
protected BOOL |
CreateCommon( CWnd* pParentWnd, SIZE sizeMin, DWORD dwStyle, UINT nID )
|
virtual BOOL |
CreateScrollBarCtrl( DWORD dwStyle, UINT nID )
|
BOOL |
CreateStatic( CWnd* pParentWnd, int nRows, int nCols, DWORD dwStyle = WS_CHILD| WS_VISIBLE, UINT nID = AFX_IDW_PANE_FIRST )
|
virtual BOOL |
CreateView( int row, int col, CRuntimeClass* pViewClass, SIZE sizeInit, CCreateContext* pContext )
|
virtual void |
DeleteColumn( int colDelete )
|
virtual void |
DeleteRow( int rowDelete )
|
virtual void |
DeleteView( int row, int col )
|
virtual BOOL |
DoKeyboardSplit()
|
virtual BOOL |
DoScroll( CView* pViewFrom, UINT nScrollCode, BOOL bDoScroll = TRUE )
|
virtual BOOL |
DoScrollBy( CView* pViewFrom, CSize sizeScroll, BOOL bDoScroll = TRUE )
|
protected virtual void |
DrawAllSplitBars( CDC* pDC, int cxInside, int cyInside )
|
protected CWnd* |
GetActivePane( int& row, int& col )
|
virtual CWnd* |
GetActivePane( int* pRow = NULL, int* pCol = NULL )
|
int |
GetColumnCount() const
|
void |
GetColumnInfo( int col, int& cxCur, int& cxMin ) const
|
protected virtual void |
GetHitRect( int ht, CRect& rect )
|
protected virtual void |
GetInsideRect( CRect& rect ) const
|
CWnd* |
GetPane( int row, int col ) const
|
int |
GetRowCount() const
|
void |
GetRowInfo( int row, int& cyCur, int& cyMin ) const
|
DWORD |
GetScrollStyle() const
|
protected CWnd* |
GetSizingParent()
|
protected virtual int |
HitTest( CPoint pt ) const
|
int |
IdFromRowCol( int row, int col ) const
|
BOOL |
IsChildPane( CWnd* pWnd, int& row, int& col )
|
BOOL |
IsChildPane( CWnd* pWnd, int* pRow, int* pCol )
|
BOOL |
IsTracking()
|
protected afx_msg void |
OnCancelMode()
|
protected virtual BOOL |
OnCommand( WPARAM wParam, LPARAM lParam )
|
protected afx_msg void |
OnDisplayChange()
|
protected virtual void |
OnDrawSplitter( CDC* pDC, CSplitterWnd::ESplitType nType, const CRect& rect )
|
protected afx_msg void |
OnHScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar )
|
protected virtual void |
OnInvertTracker( const CRect& rect )
|
protected afx_msg void |
OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags )
|
protected afx_msg void |
OnLButtonDblClk( UINT nFlags, CPoint pt )
|
protected afx_msg void |
OnLButtonDown( UINT nFlags, CPoint pt )
|
protected afx_msg void |
OnLButtonUp( UINT nFlags, CPoint pt )
|
protected afx_msg void |
OnMouseMove( UINT nFlags, CPoint pt )
|
protected afx_msg BOOL |
OnMouseWheel( UINT nFlags, short zDelta, CPoint pt )
|
protected afx_msg BOOL |
OnNcCreate( LPCREATESTRUCT lpcs )
|
protected virtual BOOL |
OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult )
|
protected afx_msg void |
OnPaint()
|
protected afx_msg BOOL |
OnSetCursor( CWnd* pWnd, UINT nHitTest, UINT message )
|
protected afx_msg void |
OnSize( UINT nType, int cx, int cy )
|
protected afx_msg void |
OnSysCommand( UINT nID, LPARAM lParam )
|
protected afx_msg void |
OnVScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar )
|
virtual void |
RecalcLayout()
|
virtual void |
SetActivePane( int row, int col, CWnd* pWnd = NULL )
|
void |
SetColumnInfo( int col, int cxIdeal, int cxMin )
|
void |
SetRowInfo( int row, int cyIdeal, int cyMin )
|
void |
SetScrollStyle( DWORD dwStyle )
|
protected virtual void |
SetSplitCursor( int ht )
|
virtual BOOL |
SplitColumn( int cxBefore )
|
virtual BOOL |
SplitRow( int cyBefore )
|
protected virtual void |
StartTracking( int ht )
|
protected virtual void |
StopTracking( BOOL bAccept )
|
protected virtual void |
TrackColumnSize( int x, int col )
|
protected virtual void |
TrackRowSize( int y, int row )
|
| Methods inherited from class CWnd |
GetCurrentMessage, HWND, operator==, operator!=, GetSafeHwnd, GetStyle, GetExStyle, ModifyStyle, ModifyStyleEx, GetOwner, SetOwner, FromHandle, FromHandlePermanent, DeleteTempMap, Attach, Detach, PreSubclassWindow, SubclassWindow, SubclassDlgItem, UnsubclassWindow, ExecuteDlgInit, ExecuteDlgInit, Create, CreateEx, CreateEx, CreateControl, CreateControl, CreateControl, GetControlUnknown, DestroyWindow, PreCreateWindow, CalcWindowRect, GetDlgCtrlID, SetDlgCtrlID, GetDlgItem, GetDlgItem, GetDescendantWindow, SendMessageToDescendants, GetParentFrame, GetTopLevelParent, GetTopLevelOwner, GetParentOwner, GetTopLevelFrame, GetSafeOwner, SendMessage, PostMessage, SendNotifyMessage, SendChildNotifyLastMsg, IsDialogMessage, SetWindowText, GetWindowText, GetWindowText, GetWindowTextLength, SetFont, GetFont, GetMenu, SetMenu, DrawMenuBar, GetSystemMenu, HiliteMenuItem, IsIconic, IsZoomed, MoveWindow, MoveWindow, SetWindowRgn, GetWindowRgn, SetWindowPos, ArrangeIconicWindows, BringWindowToTop, GetWindowRect, GetClientRect, GetWindowPlacement, SetWindowPlacement, ClientToScreen, ClientToScreen, ScreenToClient, ScreenToClient, MapWindowPoints, MapWindowPoints, BeginPaint, EndPaint, GetDC, GetWindowDC, ReleaseDC, Print, PrintClient, UpdateWindow, SetRedraw, GetUpdateRect, GetUpdateRgn, Invalidate, InvalidateRect, InvalidateRgn, ValidateRect, ValidateRgn, ShowWindow, IsWindowVisible, ShowOwnedPopups, GetDCEx, LockWindowUpdate, UnlockWindowUpdate, RedrawWindow, EnableScrollBar, SetTimer, KillTimer, EnableToolTips, EnableTrackingToolTips, CancelToolTips, FilterToolTipMessage, OnToolHitTest, IsWindowEnabled, EnableWindow, GetActiveWindow, SetActiveWindow, SetForegroundWindow, GetForegroundWindow, GetCapture, SetCapture, GetFocus, SetFocus, GetDesktopWindow, CloseWindow, OpenIcon, CheckDlgButton, CheckRadioButton, GetCheckedRadioButton, DlgDirList, DlgDirListComboBox, DlgDirSelect, DlgDirSelectComboBox, GetDlgItemInt, GetDlgItemText, GetDlgItemText, GetNextDlgGroupItem, GetNextDlgTabItem, IsDlgButtonChecked, SendDlgItemMessage, SetDlgItemInt, SetDlgItemText, GetScrollPos, GetScrollRange, ScrollWindow, SetScrollPos, SetScrollRange, ShowScrollBar, EnableScrollBarCtrl, GetScrollBarCtrl, ScrollWindowEx, SetScrollInfo, GetScrollInfo, GetScrollLimit, ChildWindowFromPoint, ChildWindowFromPoint, FindWindow, GetNextWindow, GetTopWindow, GetWindow, GetLastActivePopup, IsChild, GetParent, SetParent, WindowFromPoint, FlashWindow, MessageBox, ChangeClipboardChain, SetClipboardViewer, OpenClipboard, GetClipboardOwner, GetClipboardViewer, GetOpenClipboardWindow, CreateCaret, CreateSolidCaret, CreateGrayCaret, GetCaretPos, SetCaretPos, HideCaret, ShowCaret, DragAcceptFiles, SetIcon, GetIcon, SetWindowContextHelpId, GetWindowContextHelpId, UpdateData, OnHelp, OnHelpIndex, OnHelpFinder, OnHelpUsing, WinHelp, RepositionBars, UpdateDialogControls, CenterWindow, RunModalLoop, ContinueModal, EndModalLoop, InvokeHelper, SetProperty, GetProperty, GetDSCCursor, BindDefaultProperty, BindProperty, OnCommand, OnNotify, OnActivate, OnActivateApp, OnActivateTopLevel, OnCancelMode, OnChildActivate, OnClose, OnContextMenu, OnCopyData, OnCreate, OnCtlColor, OnDestroy, OnEnable, OnEndSession, OnEnterIdle, OnEraseBkgnd, OnGetMinMaxInfo, OnHelpInfo, OnIconEraseBkgnd, OnKillFocus, OnMenuChar, OnMenuSelect, OnMove, OnPaint, OnParentNotify, OnQueryDragIcon, OnQueryEndSession, OnQueryNewPalette, OnQueryOpen, OnSetFocus, OnShowWindow, OnSize, OnTCard, OnWindowPosChanging, OnWindowPosChanged, OnNcActivate, OnNcCalcSize, OnNcCreate, OnNcDestroy, OnNcHitTest, OnNcLButtonDblClk, OnNcLButtonDown, OnNcLButtonUp, OnNcMButtonDblClk, OnNcMButtonDown, OnNcMButtonUp, OnNcMouseMove, OnNcPaint, OnNcRButtonDblClk, OnNcRButtonDown, OnNcRButtonUp, OnDropFiles, OnPaletteIsChanging, OnSysChar, OnSysCommand, OnSysDeadChar, OnSysKeyDown, OnSysKeyUp, OnCompacting, OnDevModeChange, OnFontChange, OnPaletteChanged, OnSpoolerStatus, OnSysColorChange, OnTimeChange, OnSettingChange, OnWinIniChange, OnChar, OnDeadChar, OnHScroll, OnVScroll, OnKeyDown, OnKeyUp, OnLButtonDblClk, OnLButtonDown, OnLButtonUp, OnMButtonDblClk, OnMButtonDown, OnMButtonUp, OnMouseActivate, OnMouseMove, OnMouseWheel, OnRegisteredMouseWheel, OnRButtonDblClk, OnRButtonDown, OnRButtonUp, OnSetCursor, OnTimer, OnInitMenu, OnInitMenuPopup, OnAskCbFormatName, OnChangeCbChain, OnDestroyClipboard, OnDrawClipboard, OnHScrollClipboard, OnPaintClipboard, OnRenderAllFormats, OnRenderFormat, OnSizeClipboard, OnVScrollClipboard, OnCompareItem, OnDeleteItem, OnDrawItem, OnGetDlgCode, OnMeasureItem, OnCharToItem, OnVKeyToItem, OnMDIActivate, OnEnterMenuLoop, OnExitMenuLoop, OnStyleChanged, OnStyleChanging, OnSizing, OnMoving, OnCaptureChanged, OnDeviceChange, GetSuperWndProcAddr, DoDataExchange, BeginModalState, EndModalState, PreTranslateMessage, OnAmbientProperty, WindowProc, OnWndMsg, Default, DefWindowProc, PostNcDestroy, OnChildNotify, ReflectChildNotify, ReflectLastMsg, CheckAutoCenter, SubclassCtl3d, SubclassDlg3d, GrayCtlColor, OnGrayCtlColor, HandleFloatingSysCommand, IsTopParentActive, ActivateTopParent, WalkPreTranslateTree, GetDescendantWindow, SendMessageToDescendants, IsFrameWnd, OnFinalRelease, PreTranslateInput, ModifyStyle, ModifyStyleEx, _FilterToolTipMessage, _EnableToolTips, GetSafeOwner_, CreateDlg, CreateDlgIndirect, CreateDlgIndirect, InitControlContainer, SetOccDialogInfo, AttachControlSite, AttachControlSite, OnNTCtlColor, OnQuery3dControls, OnDisplayChange, OnDragList, GetMessageMap |
| Methods inherited from class CCmdTarget |
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook |
m_bHasHScroll
protected BOOL m_bHasHScroll;
m_bHasVScroll
protected BOOL m_bHasVScroll;
m_bTracking
protected BOOL m_bTracking;
m_bTracking2
protected BOOL m_bTracking2;
m_cxBorder
protected int m_cxBorder;
m_cxBorderShare
protected int m_cxBorderShare;
m_cxSplitter
protected int m_cxSplitter;
m_cxSplitterGap
protected int m_cxSplitterGap;
m_cyBorder
protected int m_cyBorder;
m_cyBorderShare
protected int m_cyBorderShare;
m_cySplitter
protected int m_cySplitter;
m_cySplitterGap
protected int m_cySplitterGap;
m_htTrack
protected int m_htTrack;
m_nCols
protected int m_nCols;
m_nMaxCols
protected int m_nMaxCols;
m_nMaxRows
protected int m_nMaxRows;
m_nRows
protected int m_nRows;
m_pColInfo
protected CSplitterWnd::CRowColInfo* m_pColInfo;
m_pDynamicViewClass
protected CRuntimeClass* m_pDynamicViewClass;
m_pRowInfo
protected CSplitterWnd::CRowColInfo* m_pRowInfo;
m_ptTrackOffset
protected CPoint m_ptTrackOffset;
m_rectLimit
protected CRect m_rectLimit;
m_rectTracker
protected CRect m_rectTracker;
m_rectTracker2
protected CRect m_rectTracker2;
CSplitterWnd
public CSplitterWnd();
~CSplitterWnd
public virtual ~CSplitterWnd();
ActivateNext
public virtual void ActivateNext( BOOL bPrev = FALSE );
CanActivateNext
public virtual BOOL CanActivateNext( BOOL bPrev = FALSE );
Create
public BOOL Create( CWnd* pParentWnd, int nMaxRows, int nMaxCols, SIZE sizeMin, CCreateContext* pContext, DWORD dwStyle = WS_CHILD| WS_VISIBLE| WS_HSCROLL| WS_VSCROLL| 0x0001, UINT nID = AFX_IDW_PANE_FIRST );
CreateCommon
protected BOOL CreateCommon( CWnd* pParentWnd, SIZE sizeMin, DWORD dwStyle, UINT nID );
CreateScrollBarCtrl
public virtual BOOL CreateScrollBarCtrl( DWORD dwStyle, UINT nID );
CreateStatic
public BOOL CreateStatic( CWnd* pParentWnd, int nRows, int nCols, DWORD dwStyle = WS_CHILD| WS_VISIBLE, UINT nID = AFX_IDW_PANE_FIRST );
CreateView
public virtual BOOL CreateView( int row, int col, CRuntimeClass* pViewClass, SIZE sizeInit, CCreateContext* pContext );
DeleteColumn
public virtual void DeleteColumn( int colDelete );
DeleteRow
public virtual void DeleteRow( int rowDelete );
DeleteView
public virtual void DeleteView( int row, int col );
DoKeyboardSplit
public virtual BOOL DoKeyboardSplit();
DoScroll
public virtual BOOL DoScroll( CView* pViewFrom, UINT nScrollCode, BOOL bDoScroll = TRUE );
DoScrollBy
public virtual BOOL DoScrollBy( CView* pViewFrom, CSize sizeScroll, BOOL bDoScroll = TRUE );
DrawAllSplitBars
protected virtual void DrawAllSplitBars( CDC* pDC, int cxInside, int cyInside );
GetActivePane
protected CWnd* GetActivePane( int& row, int& col );
GetActivePane
public virtual CWnd* GetActivePane( int* pRow = NULL, int* pCol = NULL );
GetColumnCount
public int GetColumnCount() const;
GetColumnInfo
public void GetColumnInfo( int col, int& cxCur, int& cxMin ) const;
GetHitRect
protected virtual void GetHitRect( int ht, CRect& rect );
GetInsideRect
protected virtual void GetInsideRect( CRect& rect ) const;
GetPane
public CWnd* GetPane( int row, int col ) const;
GetRowCount
public int GetRowCount() const;
GetRowInfo
public void GetRowInfo( int row, int& cyCur, int& cyMin ) const;
GetScrollStyle
public DWORD GetScrollStyle() const;
GetSizingParent
protected CWnd* GetSizingParent();
HitTest
protected virtual int HitTest( CPoint pt ) const;
IdFromRowCol
public int IdFromRowCol( int row, int col ) const;
IsChildPane
public BOOL IsChildPane( CWnd* pWnd, int& row, int& col );
IsChildPane
public BOOL IsChildPane( CWnd* pWnd, int* pRow, int* pCol );
IsTracking
public BOOL IsTracking();
OnCancelMode
protected afx_msg void OnCancelMode();
OnCommand
protected virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );
OnDisplayChange
protected afx_msg void OnDisplayChange();
OnDrawSplitter
protected virtual void OnDrawSplitter( CDC* pDC, CSplitterWnd::ESplitType nType, const CRect& rect );
OnHScroll
protected afx_msg void OnHScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar );
OnInvertTracker
protected virtual void OnInvertTracker( const CRect& rect );
OnKeyDown
protected afx_msg void OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags );
OnLButtonDblClk
protected afx_msg void OnLButtonDblClk( UINT nFlags, CPoint pt );
OnLButtonDown
protected afx_msg void OnLButtonDown( UINT nFlags, CPoint pt );
OnLButtonUp
protected afx_msg void OnLButtonUp( UINT nFlags, CPoint pt );
OnMouseMove
protected afx_msg void OnMouseMove( UINT nFlags, CPoint pt );
OnMouseWheel
protected afx_msg BOOL OnMouseWheel( UINT nFlags, short zDelta, CPoint pt );
OnNcCreate
protected afx_msg BOOL OnNcCreate( LPCREATESTRUCT lpcs );
OnNotify
protected virtual BOOL OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult );
OnPaint
protected afx_msg void OnPaint();
OnSetCursor
protected afx_msg BOOL OnSetCursor( CWnd* pWnd, UINT nHitTest, UINT message );
OnSize
protected afx_msg void OnSize( UINT nType, int cx, int cy );
OnSysCommand
protected afx_msg void OnSysCommand( UINT nID, LPARAM lParam );
OnVScroll
protected afx_msg void OnVScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar );
RecalcLayout
public virtual void RecalcLayout();
SetActivePane
public virtual void SetActivePane( int row, int col, CWnd* pWnd = NULL );
SetColumnInfo
public void SetColumnInfo( int col, int cxIdeal, int cxMin );
SetRowInfo
public void SetRowInfo( int row, int cyIdeal, int cyMin );
SetScrollStyle
public void SetScrollStyle( DWORD dwStyle );
SetSplitCursor
protected virtual void SetSplitCursor( int ht );
SplitColumn
public virtual BOOL SplitColumn( int cxBefore );
SplitRow
public virtual BOOL SplitRow( int cyBefore );
StartTracking
protected virtual void StartTracking( int ht );
StopTracking
protected virtual void StopTracking( BOOL bAccept );
TrackColumnSize
protected virtual void TrackColumnSize( int x, int col );
TrackRowSize
protected virtual void TrackRowSize( int y, int row );