Changes by last author:

= enableCtl =

== Syntax ==

:int enableCtl(int n, int level);

== Arguments ==


::Control number whose state will be set.


::State of the control. Set 3 for visible and enabled, 0 for invisible or 1 for disabled.

== Return ==

:Returns the previous state of the control. Usually this value isn't needed.

== Description ==

:Sets the state of a control.

== Example ==


enableCtl(0, 1); //disables a visible user control

enableCtl(5, 0); //makes user control 5 invisible and disabled


== Also see ==


== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.