The sample builds on tutorial step 4 and also demonstrates the use of a WEL_MODAL_DIALOG. The output is shown below:
After launching the sample, you will see a WEL_FRAME_WINDOW displayed. By holding down the left mouse button, and moving the mouse (Within the client area of the window), you will be able to draw on the client are of the window. If you press the right mouse button, a WEL_MODAL_DIALOG will pop up which allows you to enter the thickness of the line that is drawn.
This sytem builds on tutorial step 4 by adding a WEL_MODAL_DIALOG. The class LINE_THICKNESS_DIALOG inherits WEL_MODAL_DIALOG and uses a WEL_SINGLE_LINE_EDIT to input the desired line width.
This sample contains the following classes: