共用方式為


CMDIFrameWndEx::OnEraseMDIClientBackground

Called by the framework when the MDI frame window processes a WM_ERASEBKGND message.

virtual BOOL OnEraseMDIClientBackground(
   CDC*  
);

Return Value

TRUE if the application processes the message and erases the background.

Remarks

Override this member function if you want to process the WM_ERASEBKGND message in a CMDIFrameWndEx-derived class.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart