CWindow::IsWindowEnabled

确定窗口是否为输入启用。

BOOL IsWindowEnabled( ) const throw();

备注

在参见 Windows SDK的 IsWindowEnabled

示例

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::IsWindowEnabled() to verify if the window is enabled 
//for receiving input

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bEnabled = myWindow.IsWindowEnabled();

要求

Header: atlwin.h

请参见

参考

CWindow选件类

CWindow::EnableWindow

CWindow::IsWindowVisible

CWindow::IsWindowUnicode