Programmer's Guide > Interfaces > Component interface > ComponentType enumeration
  
ComponentType enumeration
The ComponentType enumeration is an integer showing which type of component object this is.
The ComponentType enumeration has the following constants of type unsigned short.
DIALOG_COMPONENT = 1
The component is a Dialog object.
FRAME_COMPONENT = 2
The component is a Window object.
MENUBAR_COMPONENT = 3
The component is a MenuBar object.
MENUITEM_COMPONENT = 4
The component is a MenuItem object.