共用方式為


CWindow::IsWindowVisible

Determines the window's visibility state.

BOOL IsWindowVisible( ) const throw();

Remarks

See IsWindowVisible in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and  
//calls CWindow::IsWindowVisible() to determine the visibility state  
//of the window

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bVisible = myWindow.IsWindowVisible();

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::IsWindow

CWindow::IsWindowUnicode