OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Command enabling classes

Although several ObjectWindows classes process commands, there are three classes specifically devoted to enabling and disabling the commands available to an application. More...

Classes

class  owl::TControlEnabler
 A TCommandEnabler for child controls in a dialog. More...
class  owl::TMenuItemEnabler
 Derived from TCommandEnabler, TMenuItemEnabler is a command enabler for menu items. More...
class  owl::TCommandEnabler
 Base class for an extensible interface for auto enabling/disabling of commands (menu items, tool bar buttons, ...). More...

Detailed Description

Although several ObjectWindows classes process commands, there are three classes specifically devoted to enabling and disabling the commands available to an application.

  • TCommandEnabler is the base class from which TButtonGadgetEnabler and TMenuItemEnabler are derived.
  • TButtonGadgetEnabler enables and disables button gadgets.
  • TTextButtonGadgetEnabler enables and disables text-button gadgets.
  • TMenuItemEnabler enables and disables menu options and places check marks by menu options.
  • TControlEnabler enables and disables controls in dialog.