The menu control window procedure responds to this message by returning the count of the number of items in the menu.