Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>enablewindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EnableWindow()
Enable/disable keyboard and mouse input for a window
------------------------------------------------------------------------------

Syntax
EnableWindow( <hWnd>, <lEnable> )   -->   lOldState

Arguments
<hWnd> is the handle to the window.

<lEnable> is a logical value, which should be TRUE (.T.) to
enable the window and FALSE (.F.) to disable it.

Returns
A logical TRUE (.T.) is returned if the window was previously
enabled.  Otherwise, FALSE (.F.) is returned.

Description
This function can be used to enable or disable mouse and
keyboard input to a window.  Any child windows of a disabled
window are also disabled.

Example
if IsWindowEnabled( hWnd )
     EnableWindow( hWnd, .f. )
endif


See Also: CreateWindow() DestroyWindow() IsWindowEnabled()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson