Toolbar Buttons

This is a discussion on Toolbar Buttons within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I am moving forward with my win32 api research I am currently working on toolbars. I have manage to ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    55

    Toolbar Buttons

    Hi,

    I am moving forward with my win32 api research I am currently working on toolbars. I have manage to create and add a toolbar (using createWindowEx). And also buttons with images etc. But i have a few questions:

    I wanted to add a edit control to the toolbar (inbetween buttons) but havent figured out any other way to do this other that padding the lenght of the edit control with additional buttons for so to add the edit controll on top of these. Which leads to my second questions.

    Is there anyway of adding toolbars randomly on the toolbar. e.g. at any position on the toolbar you want. Right now my impression is that these get added sequential after eachother according to index (e.g no x , y)



    G'n'R

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    I don't think you can add any other controls on a toolbar except buttons. I think what you want is not a toolbar, but a Rebar control.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    55
    Yep.... hehe, takes some time to find that out in the MSDN...

    G'n'R

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Transparent toolbar buttons
    By stickman in forum Windows Programming
    Replies: 18
    Last Post: 10-08-2006, 10:30 AM
  2. Toolbar Buttons...What am I doing wrong?
    By dcboy in forum Windows Programming
    Replies: 0
    Last Post: 04-17-2006, 08:26 PM
  3. getting buttons onto a floating toolbar
    By eth0 in forum Windows Programming
    Replies: 0
    Last Post: 03-16-2006, 04:45 AM
  4. getting toolbar buttons onto a window
    By eth0 in forum Windows Programming
    Replies: 4
    Last Post: 02-24-2006, 11:59 AM
  5. Size of buttons in toolbar
    By cornholio in forum Windows Programming
    Replies: 1
    Last Post: 11-07-2005, 09:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21