Thread: Lesson 8, Ex 3
View Single Post
  #2 (permalink)  
Old June 1st, 2013, 11:28 AM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Quote:
"... set the corresponding menu items' IMAGE properties to the special value NULL.."

What are the "corresponding menus" ? the menus in the context menu and toolbar?
For example, suppose the user selects the Text Color menu item to open the color selection dialog, picks orange, and clicks OK on the dialog. Then the program should set the Text Color menu's Image property to null so that menu item doesn't display any color sample. (Because displaying an orange color sample hasn't been covered yet. Unfortunately general drawing like making a color sample of an arbitrary color isn't covered until lesson 39, I think.)

Similarly if the user picks a color for the Background Color menu item, set that item's Image property to null.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)