Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 1.82 KB

Overview.md

File metadata and controls

31 lines (16 loc) · 1.82 KB

Overview of the Classes

SFMenu.vcx is a class library that implements the functionality of the menu components. It contains the following main classes:

  • SFMenu: represents the menu system.

  • SFPad: represents a single pad.

  • SFBar: represents a single bar.

  • SFMenuFunction: a menu function implementation object, used as the parent class for implementation objects that perform actions when menu items are chosen or toolbar buttons clicked.

  • SFMenuShortcutMenu: used to create shortcut menus.

Other classes in this VCX are:

  • SFMenuBase: the parent class for SFMenu, SFPad, and SFBar.

  • SFSeparatorBar: a subclass of SFBar, providing a separator bar. You don't normally have to add these to a pad using AddBar, since AddSeparatorBar does it without passing any parameters.

  • SFMRUBar: a subclass of SFBar providing an MRU (most-recently used) bar for a pad. See the documentation for lMRU for details on MRU bars.

  • SFHelpTopicsBar: a subclass of SFBar for the Help Topics bar in a Help menu

  • SFEditPad: a subclass of SFPad that provides the contents of a typical Edit pad.

  • SFPadCommand: a subclass of SFPad that executes some functionality when clicked rather than displaying a popup. Like SFBar, the Click method is called when the pad is selected in the menu and the pad supports an implementation object via its oImplementation property.

  • SFShortcutMenu: an older shortcut menu included for backward compatibility.

Another class library, SFDynamicMenu.vcx, contains a single class: SFDynamicMenu, which is used for reading a menu layout from text.