Поделиться через


CWindow::IsWindowEnabled

Определяет, включено ли поле для ввода.

BOOL IsWindowEnabled( ) const throw();

Заметки

См. раздел IsWindowEnabled в Windows SDK.

Пример

//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 Class

CWindow::EnableWindow

CWindow::IsWindowVisible

CWindow::IsWindowUnicode