Header Control

header_ctrl

Compiling

To compile the example:

  • Launch EiffelStudio.
  • Click Add project
  • Browse to $ISE_EIFFEL\examples\wel\header_ctrl\.
  • Choose header_ctrl.ecf
  • Choose the location where the project will be compiled, by default the same directory containing the configuration file. If you select another directory than the default one, please copy icons (*.ico) and resource files (*.rc) from the default directory (the one containing the ecf file) to the new one.
  • Click OK.

Running

After launching the program, a window will be displayed as shown above. By manipulating the header control, you will see notification of the events that occur displayed in the WEL_LIST_VIEW situated below.

Under the Hood

HEADER_CONTROL inherits WEL_HEADER_CONTROL and redefines many of the on_ notification features to display the output.

This sample contains the following classes:

  • APPLICATION_IDS
  • HEADER_CONTROL
  • HEADER_CONTROL_DEMO
  • MAIN_WINDOW