共用方式為


CWindow::IsParentDialog

Determines if the parent window of the control is a dialog window.

BOOL IsParentDialog( ) throw( );

Return Value

Returns TRUE if the parent window is a dialog, FALSE otherwise.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::IsWindow