Version
Windows Sample
Compiling
To compile the example:
- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\wel\windows\.
- Choose windows.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click OK.
Running
After launching the program, a window will appear with a custom ON_OFF_CONTROL
control displayed. Clicking on this control will cause its state to change. If you select one of the options from the "Windows" menu, that type of window will be displayed.
Under the Hood
The ON_OFF_CONTROL
inherits WEL_CONTROL_WINDOW and demonstrates how to build your controls. The classes MODAL
and MODELESS
inherit WEL_MODAL_DIALOG and WEL_MODELESS_DIALOG respectively.
This sample contains the following classes:
-
APPLICATION_IDS
-
MAIN_WINDOW
-
MODAL
-
MODELESS
-
ON_OFF_CONTROL
-
WINDOWS_DEMO
Back to WEL Samples
cached: 11/21/2024 8:34:38.000 AM