Help Contents / GUI programming / Windows A-F / WindowEnable

WindowEnablebool WindowEnable window (bool WindowEnable window enable) 

Enable or disable the window for user input.  Note that when a parent window is disabled,  all of its children are disabled as well  and they are reenabled again when the parent is. 

Parameters 

enable: If true, enables the window for input.  If false, disables the window. 

Return value: Returns true if the window has been enabled or disabled,  false if nothing was done,  i.e. if the window had already been in the specified state. 


previous: WindowDisable	next: WindowFindFocus
