Starting

Open the application.

What you now see is the Form Designer, with the main window, entitled Window1, showing. By default, it is 640x480 pixels in size. It is positioned at the top left-hand of the screen.

Let's try a few simple changes:

To test these changes press the F6 key.

Let's make the program terminate only when we (left) click the Window. To do this open the "Control Styles" property and change "Style" to WS_DLGFRAME,w32AUTOCLOSE. The "StyleType" should automatically be set to {...} but if it isn't change it accordingly. Now test this. You have a window with no apparent way of closing it, but "left clicking" does the trick!

Next we shall add some buttons.