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 CMDIChildWnd

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

   in AFXWIN.H

class CMDIChildWnd
extends CFrameWnd


Field Summary
 BOOL m_bPseudoInactive
          
protected HMENU m_hMenuShared
          
protected static AFX_CORE_DATA const AFX_MSGMAP messageMap
          
   
Fields inherited from class CFrameWnd
rectDefault, m_bAutoMenuEnable, m_nWindow, m_hMenuDefault, m_hAccelTable, m_dwPromptContext, m_bHelpMode, m_pNextFrameWnd, m_rectBorder, m_pNotifyHook, m_listControlBars, m_nShowDelay, m_nIDHelp, m_nIDTracking, m_nIDLastMessage, m_pViewActive, m_lpfnCloseProc, m_cModalStack, m_phWndDisable, m_hMenuAlt, m_strTitle, m_bInRecalcLayout, m_pFloatingFrameClass, dwDockBarMap, m_nIdleFlags, messageMap
   
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
CMDIChildWnd()
          
 
Method Summary
 virtual void ActivateFrame( int nCmdShow =-1 )
          
 virtual BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_CHILD| WS_VISIBLE| WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CMDIFrameWnd* pParentWnd = NULL, CCreateContext* pContext = NULL )
          
protected virtual LRESULT DefWindowProc( UINT nMsg, WPARAM wParam, LPARAM lParam )
          
 virtual BOOL DestroyWindow()
          
 CMDIFrameWnd* GetMDIFrame()
          
protected virtual CWnd* GetMessageBar()
          
protected virtual const AFX_MSGMAP* GetMessageMap() const
          
 virtual BOOL LoadFrame( UINT nIDResource, DWORD dwDefaultStyle, CWnd* pParentWnd, CCreateContext* pContext = NULL )
          
 void MDIActivate()
          
 void MDIDestroy()
          
 void MDIMaximize()
          
 void MDIRestore()
          
protected int OnCreate( LPCREATESTRUCT lpCreateStruct )
          
protected void OnDestroy()
          
protected void OnMDIActivate( BOOL bActivate, CWnd*, CWnd* )
          
protected int OnMouseActivate( CWnd* pDesktopWnd, UINT nHitTest, UINT message )
          
protected BOOL OnNcActivate( BOOL bActive )
          
protected BOOL OnNcCreate( LPCREATESTRUCT lpCreateStruct )
          
protected void OnSize( UINT nType, int cx, int cy )
          
protected BOOL OnToolTipText( UINT nID, NMHDR* pNMHDR, LRESULT* pResult )
          
 virtual void OnUpdateFrameMenu( BOOL bActive, CWnd* pActivateWnd, HMENU hMenuAlt )
          
protected virtual void OnUpdateFrameTitle( BOOL bAddToTitle )
          
protected void OnWindowPosChanging( LPWINDOWPOS lpWndPos )
          
 virtual BOOL PreCreateWindow( CREATESTRUCT& cs )
          
 virtual BOOL PreTranslateMessage( MSG* pMsg )
          
 void SetHandles( HMENU hMenu, HACCEL hAccel )
          
protected BOOL UpdateClientEdge( LPRECT lpRect = NULL )
          
   
Methods inherited from class CFrameWnd
LoadAccelTable, Create, LoadFrame, CreateView, GetActiveDocument, GetActiveView, SetActiveView, GetActiveFrame, GetMessageString, IsTracking, RecalcLayout, ActivateFrame, InitialUpdateFrame, SetTitle, GetTitle, SetMessageText, SetMessageText, EnableDocking, DockControlBar, FloatControlBar, GetControlBar, BeginModalState, EndModalState, InModalState, ShowOwnedWindows, LoadBarState, SaveBarState, ShowControlBar, SetDockState, GetDockState, OnSetPreviewMode, GetMessageBar, NegotiateBorderSpace, OnCreateClient, OnContextHelp, OnUpdateControlBarMenu, OnBarCheck, CreateFloatingFrame, CanDock, AddControlBar, RemoveControlBar, DockControlBar, ReDockControlBar, NotifyFloatingWindows, DestroyDockBars, IsFrameWnd, OnCmdMsg, OnUpdateFrameTitle, OnUpdateFrameMenu, GetDefaultAccelerator, PreTranslateMessage, DelayUpdateFrameMenu, DelayUpdateFrameTitle, DelayRecalcLayout, CanEnterHelpMode, ExitHelpMode, UpdateFrameTitleForDocument, GetIconWndClass, PreCreateWindow, OnCommand, PostNcDestroy, OnCreateHelper, BringToTop, ProcessHelpMsg, SetHelpCapture, AddFrameWnd, RemoveFrameWnd, OnCreate, OnDestroy, OnClose, OnInitMenu, OnInitMenuPopup, OnMenuSelect, OnPopMessageString, OnSetMessageString, OnHelpPromptAddr, OnIdleUpdateCmdUI, OnEnterIdle, OnSetFocus, OnHScroll, OnVScroll, OnSize, OnEraseBkgnd, OnActivate, OnNcActivate, OnSysCommand, OnQueryEndSession, OnEndSession, OnDropFiles, OnSetCursor, OnCommandHelp, OnHelpHitTest, OnActivateTopLevel, OnEnable, OnPaletteChanged, OnQueryNewPalette, OnToolTipText, OnUpdateKeyIndicator, OnHelp, OnUpdateContextHelp, OnDDEInitiate, OnDDEExecute, OnDDETerminate, OnRegisteredMouseWheel, GetMessageMap
   
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

m_bPseudoInactive

public BOOL m_bPseudoInactive;

m_hMenuShared

protected HMENU m_hMenuShared;

messageMap

protected static AFX_CORE_DATA const AFX_MSGMAP messageMap;


Constructor Detail

CMDIChildWnd

public CMDIChildWnd();


Method Detail

ActivateFrame

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

Create

public virtual BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_CHILD| WS_VISIBLE| WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CMDIFrameWnd* pParentWnd = NULL, CCreateContext* pContext = NULL );

DefWindowProc

protected virtual LRESULT DefWindowProc( UINT nMsg, WPARAM wParam, LPARAM lParam );

DestroyWindow

public virtual BOOL DestroyWindow();

GetMDIFrame

public CMDIFrameWnd* GetMDIFrame();

GetMessageBar

protected virtual CWnd* GetMessageBar();

GetMessageMap

protected virtual const AFX_MSGMAP* GetMessageMap() const;

LoadFrame

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

MDIActivate

public void MDIActivate();

MDIDestroy

public void MDIDestroy();

MDIMaximize

public void MDIMaximize();

MDIRestore

public void MDIRestore();

OnCreate

protected int OnCreate( LPCREATESTRUCT lpCreateStruct );

OnDestroy

protected void OnDestroy();

OnMDIActivate

protected void OnMDIActivate( BOOL bActivate, CWnd*, CWnd* );

OnMouseActivate

protected int OnMouseActivate( CWnd* pDesktopWnd, UINT nHitTest, UINT message );

OnNcActivate

protected BOOL OnNcActivate( BOOL bActive );

OnNcCreate

protected BOOL OnNcCreate( LPCREATESTRUCT lpCreateStruct );

OnSize

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

OnToolTipText

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

OnUpdateFrameMenu

public virtual void OnUpdateFrameMenu( BOOL bActive, CWnd* pActivateWnd, HMENU hMenuAlt );

OnUpdateFrameTitle

protected virtual void OnUpdateFrameTitle( BOOL bAddToTitle );

OnWindowPosChanging

protected void OnWindowPosChanging( LPWINDOWPOS lpWndPos );

PreCreateWindow

public virtual BOOL PreCreateWindow( CREATESTRUCT& cs );

PreTranslateMessage

public virtual BOOL PreTranslateMessage( MSG* pMsg );

SetHandles

public void SetHandles( HMENU hMenu, HACCEL hAccel );

UpdateClientEdge

protected BOOL UpdateClientEdge( LPRECT lpRect = NULL );

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