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