BOOL pascal IsWindowEnabled(HWND hWnd) This function tells if a window is enabled or not. A disabled window cannot receive any input messages, nor can it receive the focus. Parameters hWnd is the handle of the window to query. Returns TRUE if the window is enabled, FALSE if not.