XY Sample

Compiling
To compile the example:
- Launch EiffelStudio.
- Select Use existing Ace (control file) and click OK.
- Browse to Eiffel52\examples\wel\xy\.
- Choose Ace.ace
- Choose the directory where the project will be compiled, by default the same directory containing the Ace file.
- Click OK.
Running
After launching the sample, you should see a WEL_FRAME_WINDOW
displayed. If you click the left mouse button in the client area of the window, the coordinates of the click (Relative to the top left of the client area), will be
displayed. Clicking the WEL_PUSH_BUTTON marked "Clear" will clear the client area of the window.
Under the Hood
A WEL_CLIENT_DC is used to display output in the client area of the window during the execution of on_left_button_down which has been redefined
in MAIN_WINDOW.
This sample contains the following classes:
See Also
tutorial_step3
WEL_PUSH_BUTTON