Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Chapter 3: Windows Resources Visual C++ and MFC Fundamentals



  1. On the Properties window, click Filename. Type diamond and press Enter

  2. On the Image Editor toolbar, click the Line Tool button

  3. In the Colors window, click the blue color (7th column, 2nd row)

  4. In the empty drawing area, count 15 pixels from the top left to the right. On the 16th
    box, click and drag right and down for an angle of 45° for 7 boxes. Release the
    mouse

  5. Click the same top blue box and drag left and down at 45° for 7 boxes:

  6. Draw a diamond under the first one as follows:

Free download pdf