The menu control responds to this message by returning the state of the specified attributes of the identified menu item.