Chapter 15. StaticControl Class

The StaticControl class provides methods to query and modify static controls, such as static text, group boxes, and frames. It inherits all methods of the DialogControl class (see DialogControl Class).

The StaticControl class requires the class definition file oodwin32.cls:

::requires "oodwin32.cls"

Use the GetStaticControl method (see GetStaticControl) to retrieve an object of the StaticControl class. To use this method, the static control must have a positive ID.