Modify your paint program with the following:

  1. Add a horizontal scrollbar that will allow the user to change the line width
  2. Change the scrollbar to be equal to the line width the user chooses from the menu (small, medium, large)
  3. Add a common dialog that the user can then choose the line color from
  4. Allow the user to change the background using the color pallet (common dialog)
  5. Clear the canvas area

 

Back