CWindow::IsWindowEnabled

BOOL IsWindowEnabled( ) const;

See IsWindowEnabled in the Win32 SDK.

Remarks

Determines whether the window is enabled for input.

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(hWndFoo);
BOOL bEnabled  = myWindow.IsWindowEnabled();

CWindow OverviewClass Members

See Also   CWindow::EnableWindow, CWindow::IsWindowVisible, CWindow::IsWindowUnicode