XY Sample

xy


Compiling

To compile the example:

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