Thread: Toolbars

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    42
    Rep Power
    12

    Toolbars


    I made a toolbar and would like to add my own custom bitmaps to it. can somebody give me some direction on how to do this?
  2. #2
  3. No Profile Picture
    Offensive Member
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2002
    Location
    in the perfect world
    Posts
    622
    Rep Power
    27
    Use a paint program to create a single image made up of the buttons. Arrange them across the image (like a comic strip). They must be the same size and have no gaps.

    Use LoadImage() and then ImageList_Add() and TBBUTTON struct



    I use rebars "ReBarWindow32" not toolbars
    The essence of Christianity is told us in the Garden of Eden history. The fruit that was forbidden was on the Tree of Knowledge. The subtext is, All the suffering you have is because you wanted to find out what was going on. You could be in the Garden of Eden if you had just kept your f***ing mouth shut and hadn't asked any questions.

    Frank Zappa

IMN logo majestic logo threadwatch logo seochat tools logo