共用方式為


CWindow::IsWindowVisible

決定視窗的可視性狀態。

BOOL IsWindowVisible( ) const throw();

備註

請參閱在 Windows SDK的 IsWindowVisible

範例

//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();

需求

Header: atlwin.h

請參閱

參考

CWindow 類別

CWindow::IsWindow

CWindow::IsWindowUnicode