TOOLBARBUTTONID

typedef enum
{
    ID_TOOL_PAINT_BRUSH = 30001, // Paintbrush tool
    ID_TOOL_PAINT_SHAPE_LINE = 30002, // Line shape tool
    ID_TOOL_PAINT_SHAPE_RECT = 30003, // Rectangle shape tool
    ID_TOOL_PAINT_SHAPE_ROUNDRECT = 30004, // Rounded rectangle shape tool
    ID_TOOL_PAINT_SHAPE_ELLIPSE = 30005,  // Ellipse shape tool
    ID_TOOL_PAINT_SHAPE_POLYGON = 30006, // Polygon shape tool
    ID_TOOL_PAINT_SHAPE_BEZIER = 30007,  // Bezier shape tool
    ID_TOOL_PAINT_REGION_RECT = 30008, // Region rectangle tool
    ID_TOOL_PAINT_REGION_ROUNDRECT = 30009, // Rounded rectangle region tool
    ID_TOOL_PAINT_REGION_ELLIPSE = 30010, // Ellipse region tool
    ID_TOOL_PAINT_REGION_POLYGON = 30011, // Polygon region tool
    ID_TOOL_PAINT_REGION_SURFACE = 30012, // Surface region tool
    ID_TOOL_PAINT_REGION_BORDER = 30013, // Border region tool
    ID_TOOL_PAINT_REGION_COLOR = 30014, // Color region tool
    ID_TOOL_PAINT_FILL_SURFACE = 30015, // Surface fill tool
    ID_TOOL_PAINT_FILL_BORDER = 30016, // Border fill tool
    ID_TOOL_PAINT_FILL_COLORREPLACE = 30017, // Color replace tool
    ID_TOOL_PAINT_TEXT = 30018, // Text tool
    ID_TOOL_PAINT_ZOOM = 30019, // Zoom tool
    ID_TOOL_PAINT_BORDERCOLORPICKER = 30020, // Border color picker tool
    ID_TOOL_PAINT_MOVER = 30021, // Mover tool
    ID_TOOL_PAINT_COUNT = 21, // Number of toolbar buttons
   
    ID_TOOL_VECTOR_NONE = 30101, // Neutral (No tool selected)
    ID_TOOL_VECTOR_SELECT = 30102, // Select object(s)
    ID_TOOL_VECTOR_VERTEX = 30103, // Vertex
    ID_TOOL_VECTOR_LINE = 30104, // Line
    ID_TOOL_VECTOR_RECTANGLE = 30105, // Rectangle
    ID_TOOL_VECTOR_POLYLINE = 30106, // Polyline
    ID_TOOL_VECTOR_POLYBEZIER = 30107, // Polybezier
    ID_TOOL_VECTOR_POLYGON = 30108, // Polygon
    ID_TOOL_VECTOR_ELLIPSE = 30109, // Ellipse
    ID_TOOL_VECTOR_CIRCLE = 30110, // Circle
    ID_TOOL_VECTOR_ARC = 30111, // Arc
    ID_TOOL_VECTOR_TEXT = 30112, // Text
    ID_TOOL_VECTOR_PIE = 30113, // Pie
    ID_TOOL_VECTOR_CHORD = 30114, // Chord
    ID_TOOL_VECTOR_RASTER = 30115, // Raster
    ID_TOOL_VECTOR_ROTATE = 30116, // Rotate
    ID_TOOL_VECTOR_PAN = 30117, // Pan
    ID_TOOL_VECTOR_COUNT = 17 // Number of toolbar buttons

} TOOLBARBUTTONID ;

Comments

The values in this enumeration will represent the IDs of all buttons for the vector and paint toolbars.