共用方式為


CWindow::IsIconic

Determines whether the window is minimized.

BOOL IsIconic( ) const throw();

Remarks

See IsIconic in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and  
//calls CWindow::IsIconic() to determine if the window is minimized

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bIconic = myWindow.IsIconic();

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::IsZoomed