windows_programming_notes.nbk: Home | Index | Next Page: IsWindowVisible | Previous Page: IsWindow


 IsWindowEnabled

The IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input.

Syntax

    BOOL IsWindowEnabled(
        HWND hWnd
        );

Parameters

Return Value

If the window is enabled, the return value is nonzero.

If the window is not enabled, the return value is zero.

Remarks

A child window receives input only if it is both enabled and visible.

Function Information


windows_programming_notes.nbk: Home | Index | Next Page: IsWindowVisible | Previous Page: IsWindow


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time