Create a New Toolbar

New toolbars are a frequently requested feature of user interfaces. To create a new toolbar and add it to 1stEdit, follow these steps:

  1. Click on the Resource View tab. Right-click the toolbar folder, and select Insert Toolbar. Name the toolbar IDR_TOOLBAR_EDIT.

  2. Add buttons to the toolbar, as shown in Adding new toolbar buttons to 1stEdit. Most of these bitmaps are available in the DockTool sample that ships with Visual C++.

    Adding new toolbar buttons to 1stEdit

  3. Give the buttons the following IDs:

    ID_EDIT_UNDO

    ID_EDIT_REDO

    ID_EDIT_FIND

    ID_EDIT_FINDNEXT

    ID_SECEDIT_BOOKMARK_TOGGLE

    ID_SECEDIT_BOOKMARK_NEXT

    ID_SECEDIT_BOOKMARK_PREV

    ID_SECEDIT_BOOKMARK_DELETEALL

    You do not need to add a prompt to these IDs.