Condividi tramite


CWindow::IsWindowEnabled

Determines whether the window is enabled for input.

BOOL IsWindowEnabled( ) const throw();

Remarks

See IsWindowEnabled in the Windows SDK.

Example

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

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::EnableWindow

CWindow::IsWindowVisible

CWindow::IsWindowUnicode