home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CFrameWnd

CObject
   |
   +--CCmdTarget
         |
         +--CWnd
               |
               +--CFrameWnd

   in AFXWIN.H
Direct Known Subclasses:
CMDIChildWnd, CMDIFrameWnd, CMiniFrameWnd, COleCntrFrameWnd, COleIPFrameWnd

class CFrameWnd
extends CWnd


Inner Classes, Typedefs, and Enums
enum CFrameWnd::BorderCmd
          
enum CFrameWnd::IdleFlags
          
 
Field Summary
protected static const DWORD[ 4 ][ 2 ] dwDockBarMap
          
 BOOL m_bAutoMenuEnable
          
 BOOL m_bHelpMode
          
protected BOOL m_bInRecalcLayout
          
protected UINT m_cModalStack
          
 DWORD m_dwPromptContext
          
 HACCEL m_hAccelTable
          
protected HMENU m_hMenuAlt
          
 HMENU m_hMenuDefault
          
 CPtrList m_listControlBars
          
protected BOOL( CALLBACK* )( CFrameWnd* pFrameWnd ) m_lpfnCloseProc
          
protected UINT m_nIDHelp
          
protected UINT m_nIDLastMessage
          
 UINT m_nIdleFlags
          
protected UINT m_nIDTracking
          
 int m_nShowDelay
          
 int m_nWindow
          
protected CRuntimeClass* m_pFloatingFrameClass
          
protected HWND* m_phWndDisable
          
 CFrameWnd* m_pNextFrameWnd
          
 COleFrameHook* m_pNotifyHook
          
protected CView* m_pViewActive
          
 CRect m_rectBorder
          
protected CString m_strTitle
          
protected static AFX_CORE_DATA const AFX_MSGMAP messageMap
          
 static AFX_CORE_DATA const CRect rectDefault
          
   
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
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CFrameWnd()
          
virtual ~CFrameWnd()
          
 
Method Summary
 virtual void ActivateFrame( int nCmdShow =-1 )
          
 void AddControlBar( CControlBar* pBar )
          
protected void AddFrameWnd()
          
 virtual void BeginModalState()
          
protected void BringToTop( int nCmdShow )
          
 DWORD CanDock( CRect rect, DWORD dwDockStyle, CDockBar** ppDockBar = NULL )
          
 BOOL CanEnterHelpMode()
          
 BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CWnd* pParentWnd = NULL, LPCTSTR lpszMenuName = NULL, DWORD dwExStyle = 0, CCreateContext* pContext = NULL )
          
 CMiniDockFrameWnd* CreateFloatingFrame( DWORD dwStyle )
          
 CWnd* CreateView( CCreateContext* pContext, UINT nID = AFX_IDW_PANE_FIRST )
          
 void DelayRecalcLayout( BOOL bNotify = TRUE )
          
 virtual void DelayUpdateFrameMenu( HMENU hMenuAlt )
          
 void DelayUpdateFrameTitle()
          
 void DestroyDockBars()
          
 void DockControlBar( CControlBar* pBar, CDockBar* pDockBar, LPCRECT lpRect = NULL )
          
 void DockControlBar( CControlBar* pBar, UINT nDockBarID = 0, LPCRECT lpRect = NULL )
          
 void EnableDocking( DWORD dwDockStyle )
          
 virtual void EndModalState()
          
 virtual void ExitHelpMode()
          
 void FloatControlBar( CControlBar* pBar, CPoint point, DWORD dwStyle = CBRS_ALIGN_TOP )
          
 virtual CDocument* GetActiveDocument()
          
 virtual CFrameWnd* GetActiveFrame()
          
 CView* GetActiveView() const
          
 CControlBar* GetControlBar( UINT nID )
          
 virtual HACCEL GetDefaultAccelerator()
          
 void GetDockState( CDockState& state ) const
          
protected LPCTSTR GetIconWndClass( DWORD dwDefaultStyle, UINT nIDResource )
          
 virtual CWnd* GetMessageBar()
          
protected virtual const AFX_MSGMAP* GetMessageMap() const
          
 virtual void GetMessageString( UINT nID, CString& rMessage ) const
          
 CString GetTitle() const
          
 void InitialUpdateFrame( CDocument* pDoc, BOOL bMakeVisible )
          
 BOOL InModalState() const
          
 virtual BOOL IsFrameWnd() const
          
 BOOL IsTracking() const
          
 BOOL LoadAccelTable( LPCTSTR lpszResourceName )
          
 void LoadBarState( LPCTSTR lpszProfileName )
          
 virtual BOOL LoadFrame( UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW| 0x00008000L, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL )
          
 virtual BOOL NegotiateBorderSpace( UINT nBorderCmd, LPRECT lpRectBorder )
          
 void NotifyFloatingWindows( DWORD dwFlags )
          
protected void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized )
          
protected LRESULT OnActivateTopLevel( WPARAM wParam, LPARAM lParam )
          
 BOOL OnBarCheck( UINT nID )
          
protected void OnClose()
          
 virtual BOOL OnCmdMsg( UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo )
          
protected virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam )
          
protected LRESULT OnCommandHelp( WPARAM wParam, LPARAM lParam )
          
 void OnContextHelp()
          
protected int OnCreate( LPCREATESTRUCT lpCreateStruct )
          
protected virtual BOOL OnCreateClient( LPCREATESTRUCT lpcs, CCreateContext* pContext )
          
protected int OnCreateHelper( LPCREATESTRUCT lpcs, CCreateContext* pContext )
          
protected LRESULT OnDDEExecute( WPARAM wParam, LPARAM lParam )
          
protected LRESULT OnDDEInitiate( WPARAM wParam, LPARAM lParam )
          
protected LRESULT OnDDETerminate( WPARAM wParam, LPARAM lParam )
          
protected void OnDestroy()
          
protected void OnDropFiles( HDROP hDropInfo )
          
protected void OnEnable( BOOL bEnable )
          
protected void OnEndSession( BOOL bEnding )
          
protected void OnEnterIdle( UINT nWhy, CWnd* pWho )
          
protected BOOL OnEraseBkgnd( CDC* pDC )
          
protected void OnHelp()
          
protected LRESULT OnHelpHitTest( WPARAM wParam, LPARAM lParam )
          
protected LRESULT OnHelpPromptAddr( WPARAM wParam, LPARAM lParam )
          
protected void OnHScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar )
          
protected void OnIdleUpdateCmdUI()
          
protected void OnInitMenu( CMenu* )
          
protected void OnInitMenuPopup( CMenu*, UINT, BOOL )
          
protected void OnMenuSelect( UINT nItemID, UINT nFlags, HMENU hSysMenu )
          
protected BOOL OnNcActivate( BOOL bActive )
          
protected void OnPaletteChanged( CWnd* pFocusWnd )
          
protected LRESULT OnPopMessageString( WPARAM wParam, LPARAM lParam )
          
protected BOOL OnQueryEndSession()
          
protected BOOL OnQueryNewPalette()
          
protected LRESULT OnRegisteredMouseWheel( WPARAM wParam, LPARAM lParam )
          
protected BOOL OnSetCursor( CWnd* pWnd, UINT nHitTest, UINT message )
          
protected void OnSetFocus( CWnd* pOldWnd )
          
protected LRESULT OnSetMessageString( WPARAM wParam, LPARAM lParam )
          
 virtual void OnSetPreviewMode( BOOL bPreview, CPrintPreviewState* pState )
          
protected void OnSize( UINT nType, int cx, int cy )
          
protected void OnSysCommand( UINT nID, LONG lParam )
          
protected BOOL OnToolTipText( UINT nID, NMHDR* pNMHDR, LRESULT* pResult )
          
protected void OnUpdateContextHelp( CCmdUI* pCmdUI )
          
 void OnUpdateControlBarMenu( CCmdUI* pCmdUI )
          
 virtual void OnUpdateFrameMenu( HMENU hMenuAlt )
          
 virtual void OnUpdateFrameTitle( BOOL bAddToTitle )
          
protected void OnUpdateKeyIndicator( CCmdUI* pCmdUI )
          
protected void OnVScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar )
          
protected virtual void PostNcDestroy()
          
protected virtual BOOL PreCreateWindow( CREATESTRUCT& cs )
          
 virtual BOOL PreTranslateMessage( MSG* pMsg )
          
protected BOOL ProcessHelpMsg( MSG& msg, DWORD* pContext )
          
 virtual void RecalcLayout( BOOL bNotify = TRUE )
          
 void ReDockControlBar( CControlBar* pBar, CDockBar* pDockBar, LPCRECT lpRect = NULL )
          
 void RemoveControlBar( CControlBar* pBar )
          
protected void RemoveFrameWnd()
          
 void SaveBarState( LPCTSTR lpszProfileName ) const
          
 void SetActiveView( CView* pViewNew, BOOL bNotify = TRUE )
          
 void SetDockState( const CDockState& state )
          
protected HWND SetHelpCapture( POINT point, BOOL* pbDescendant )
          
 void SetMessageText( LPCTSTR lpszText )
          
 void SetMessageText( UINT nID )
          
 void SetTitle( LPCTSTR lpszTitle )
          
 void ShowControlBar( CControlBar* pBar, BOOL bShow, BOOL bDelay )
          
 void ShowOwnedWindows( BOOL bShow )
          
 void UpdateFrameTitleForDocument( LPCTSTR lpszDocName )
          
   
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
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

dwDockBarMap

protected static const DWORD dwDockBarMap[ 4 ][ 2 ];

m_bAutoMenuEnable

public BOOL m_bAutoMenuEnable;

m_bHelpMode

public BOOL m_bHelpMode;

m_bInRecalcLayout

protected BOOL m_bInRecalcLayout;

m_cModalStack

protected UINT m_cModalStack;

m_dwPromptContext

public DWORD m_dwPromptContext;

m_hAccelTable

public HACCEL m_hAccelTable;

m_hMenuAlt

protected HMENU m_hMenuAlt;

m_hMenuDefault

public HMENU m_hMenuDefault;

m_listControlBars

public CPtrList m_listControlBars;

m_lpfnCloseProc

protected BOOL( CALLBACK* m_lpfnCloseProc )( CFrameWnd* pFrameWnd );

m_nIDHelp

protected UINT m_nIDHelp;

m_nIDLastMessage

protected UINT m_nIDLastMessage;

m_nIdleFlags

public UINT m_nIdleFlags;

m_nIDTracking

protected UINT m_nIDTracking;

m_nShowDelay

public int m_nShowDelay;

m_nWindow

public int m_nWindow;

m_pFloatingFrameClass

protected CRuntimeClass* m_pFloatingFrameClass;

m_phWndDisable

protected HWND* m_phWndDisable;

m_pNextFrameWnd

public CFrameWnd* m_pNextFrameWnd;

m_pNotifyHook

public COleFrameHook* m_pNotifyHook;

m_pViewActive

protected CView* m_pViewActive;

m_rectBorder

public CRect m_rectBorder;

m_strTitle

protected CString m_strTitle;

messageMap

protected static AFX_CORE_DATA const AFX_MSGMAP messageMap;

rectDefault

public static AFX_CORE_DATA const CRect rectDefault;


Constructor Detail

CFrameWnd

public CFrameWnd();

~CFrameWnd

public virtual ~CFrameWnd();


Method Detail

ActivateFrame

public virtual void ActivateFrame( int nCmdShow =-1 );

AddControlBar

public void AddControlBar( CControlBar* pBar );

AddFrameWnd

protected void AddFrameWnd();

BeginModalState

public virtual void BeginModalState();

BringToTop

protected void BringToTop( int nCmdShow );

CanDock

public DWORD CanDock( CRect rect, DWORD dwDockStyle, CDockBar** ppDockBar = NULL );

CanEnterHelpMode

public BOOL CanEnterHelpMode();

Create

public BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CWnd* pParentWnd = NULL, LPCTSTR lpszMenuName = NULL, DWORD dwExStyle = 0, CCreateContext* pContext = NULL );

CreateFloatingFrame

public CMiniDockFrameWnd* CreateFloatingFrame( DWORD dwStyle );

CreateView

public CWnd* CreateView( CCreateContext* pContext, UINT nID = AFX_IDW_PANE_FIRST );

DelayRecalcLayout

public void DelayRecalcLayout( BOOL bNotify = TRUE );

DelayUpdateFrameMenu

public virtual void DelayUpdateFrameMenu( HMENU hMenuAlt );

DelayUpdateFrameTitle

public void DelayUpdateFrameTitle();

DestroyDockBars

public void DestroyDockBars();

DockControlBar

public void DockControlBar( CControlBar* pBar, CDockBar* pDockBar, LPCRECT lpRect = NULL );

DockControlBar

public void DockControlBar( CControlBar* pBar, UINT nDockBarID = 0, LPCRECT lpRect = NULL );

EnableDocking

public void EnableDocking( DWORD dwDockStyle );

EndModalState

public virtual void EndModalState();

ExitHelpMode

public virtual void ExitHelpMode();

FloatControlBar

public void FloatControlBar( CControlBar* pBar, CPoint point, DWORD dwStyle = CBRS_ALIGN_TOP );

GetActiveDocument

public virtual CDocument* GetActiveDocument();

GetActiveFrame

public virtual CFrameWnd* GetActiveFrame();

GetActiveView

public CView* GetActiveView() const;

GetControlBar

public CControlBar* GetControlBar( UINT nID );

GetDefaultAccelerator

public virtual HACCEL GetDefaultAccelerator();

GetDockState

public void GetDockState( CDockState& state ) const;

GetIconWndClass

protected LPCTSTR GetIconWndClass( DWORD dwDefaultStyle, UINT nIDResource );

GetMessageBar

public virtual CWnd* GetMessageBar();

GetMessageMap

protected virtual const AFX_MSGMAP* GetMessageMap() const;

GetMessageString

public virtual void GetMessageString( UINT nID, CString& rMessage ) const;

GetTitle

public CString GetTitle() const;

InitialUpdateFrame

public void InitialUpdateFrame( CDocument* pDoc, BOOL bMakeVisible );

InModalState

public BOOL InModalState() const;

IsFrameWnd

public virtual BOOL IsFrameWnd() const;

IsTracking

public BOOL IsTracking() const;

LoadAccelTable

public BOOL LoadAccelTable( LPCTSTR lpszResourceName );

LoadBarState

public void LoadBarState( LPCTSTR lpszProfileName );

LoadFrame

public virtual BOOL LoadFrame( UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW| 0x00008000L, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL );

NegotiateBorderSpace

public virtual BOOL NegotiateBorderSpace( UINT nBorderCmd, LPRECT lpRectBorder );

NotifyFloatingWindows

public void NotifyFloatingWindows( DWORD dwFlags );

OnActivate

protected void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );

OnActivateTopLevel

protected LRESULT OnActivateTopLevel( WPARAM wParam, LPARAM lParam );

OnBarCheck

public BOOL OnBarCheck( UINT nID );

OnClose

protected void OnClose();

OnCmdMsg

public virtual BOOL OnCmdMsg( UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo );

OnCommand

protected virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );

OnCommandHelp

protected LRESULT OnCommandHelp( WPARAM wParam, LPARAM lParam );

OnContextHelp

public void OnContextHelp();

OnCreate

protected int OnCreate( LPCREATESTRUCT lpCreateStruct );

OnCreateClient

protected virtual BOOL OnCreateClient( LPCREATESTRUCT lpcs, CCreateContext* pContext );

OnCreateHelper

protected int OnCreateHelper( LPCREATESTRUCT lpcs, CCreateContext* pContext );

OnDDEExecute

protected LRESULT OnDDEExecute( WPARAM wParam, LPARAM lParam );

OnDDEInitiate

protected LRESULT OnDDEInitiate( WPARAM wParam, LPARAM lParam );

OnDDETerminate

protected LRESULT OnDDETerminate( WPARAM wParam, LPARAM lParam );

OnDestroy

protected void OnDestroy();

OnDropFiles

protected void OnDropFiles( HDROP hDropInfo );

OnEnable

protected void OnEnable( BOOL bEnable );

OnEndSession

protected void OnEndSession( BOOL bEnding );

OnEnterIdle

protected void OnEnterIdle( UINT nWhy, CWnd* pWho );

OnEraseBkgnd

protected BOOL OnEraseBkgnd( CDC* pDC );

OnHelp

protected void OnHelp();

OnHelpHitTest

protected LRESULT OnHelpHitTest( WPARAM wParam, LPARAM lParam );

OnHelpPromptAddr

protected LRESULT OnHelpPromptAddr( WPARAM wParam, LPARAM lParam );

OnHScroll

protected void OnHScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar );

OnIdleUpdateCmdUI

protected void OnIdleUpdateCmdUI();

OnInitMenu

protected void OnInitMenu( CMenu* );

OnInitMenuPopup

protected void OnInitMenuPopup( CMenu*, UINT, BOOL );

OnMenuSelect

protected void OnMenuSelect( UINT nItemID, UINT nFlags, HMENU hSysMenu );

OnNcActivate

protected BOOL OnNcActivate( BOOL bActive );

OnPaletteChanged

protected void OnPaletteChanged( CWnd* pFocusWnd );

OnPopMessageString

protected LRESULT OnPopMessageString( WPARAM wParam, LPARAM lParam );

OnQueryEndSession

protected BOOL OnQueryEndSession();

OnQueryNewPalette

protected BOOL OnQueryNewPalette();

OnRegisteredMouseWheel

protected LRESULT OnRegisteredMouseWheel( WPARAM wParam, LPARAM lParam );

OnSetCursor

protected BOOL OnSetCursor( CWnd* pWnd, UINT nHitTest, UINT message );

OnSetFocus

protected void OnSetFocus( CWnd* pOldWnd );

OnSetMessageString

protected LRESULT OnSetMessageString( WPARAM wParam, LPARAM lParam );

OnSetPreviewMode

public virtual void OnSetPreviewMode( BOOL bPreview, CPrintPreviewState* pState );

OnSize

protected void OnSize( UINT nType, int cx, int cy );

OnSysCommand

protected void OnSysCommand( UINT nID, LONG lParam );

OnToolTipText

protected BOOL OnToolTipText( UINT nID, NMHDR* pNMHDR, LRESULT* pResult );

OnUpdateContextHelp

protected void OnUpdateContextHelp( CCmdUI* pCmdUI );

OnUpdateControlBarMenu

public void OnUpdateControlBarMenu( CCmdUI* pCmdUI );

OnUpdateFrameMenu

public virtual void OnUpdateFrameMenu( HMENU hMenuAlt );

OnUpdateFrameTitle

public virtual void OnUpdateFrameTitle( BOOL bAddToTitle );

OnUpdateKeyIndicator

protected void OnUpdateKeyIndicator( CCmdUI* pCmdUI );

OnVScroll

protected void OnVScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar );

PostNcDestroy

protected virtual void PostNcDestroy();

PreCreateWindow

protected virtual BOOL PreCreateWindow( CREATESTRUCT& cs );

PreTranslateMessage

public virtual BOOL PreTranslateMessage( MSG* pMsg );

ProcessHelpMsg

protected BOOL ProcessHelpMsg( MSG& msg, DWORD* pContext );

RecalcLayout

public virtual void RecalcLayout( BOOL bNotify = TRUE );

ReDockControlBar

public void ReDockControlBar( CControlBar* pBar, CDockBar* pDockBar, LPCRECT lpRect = NULL );

RemoveControlBar

public void RemoveControlBar( CControlBar* pBar );

RemoveFrameWnd

protected void RemoveFrameWnd();

SaveBarState

public void SaveBarState( LPCTSTR lpszProfileName ) const;

SetActiveView

public void SetActiveView( CView* pViewNew, BOOL bNotify = TRUE );

SetDockState

public void SetDockState( const CDockState& state );

SetHelpCapture

protected HWND SetHelpCapture( POINT point, BOOL* pbDescendant );

SetMessageText

public void SetMessageText( LPCTSTR lpszText );

SetMessageText

public void SetMessageText( UINT nID );

SetTitle

public void SetTitle( LPCTSTR lpszTitle );

ShowControlBar

public void ShowControlBar( CControlBar* pBar, BOOL bShow, BOOL bDelay );

ShowOwnedWindows

public void ShowOwnedWindows( BOOL bShow );

UpdateFrameTitleForDocument

public void UpdateFrameTitleForDocument( LPCTSTR lpszDocName );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD