Results 1 to 5 of 5

Thread: [RESOLVED] Dropdown buttons with Windows Common Controls 5.0

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    40

    Resolved [RESOLVED] Dropdown buttons with Windows Common Controls 5.0

    I am trying to achieve a windows XP style with my VB software, and found plenty of resources telling me that I had to use Windows Common Controls 5.0

    This seems to work wodnerfully. However, I am having the issue of not being able to make dropdown buttons in my toolbar with these controls, whereas it is very easy with Windows Common Controls 6.0

    Am I missing something, or do dropdown buttons simply not exist in 5.0? If that is the case, are there any workarounds?

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: Dropdown buttons with Windows Common Controls 5.0

    i don't know if they exist in v5 or not (i guess if they're not there then no) - for alternatives check out vbAccelerator

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    40

    Re: Dropdown buttons with Windows Common Controls 5.0

    *bump*
    Does anybody else know a little bit more about this?

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Dropdown buttons with Windows Common Controls 5.0

    Button Menus where added in VB 6.0 so you need to get creative. It can be easily achieved with two Command buttons and a ComboBox

    Add a Toolbar Button. Set its style to tbrPlaceholder
    Add a ComboBox, it will be used as the DropDown menu.
    Add two Command Buttons, one to display the Icon and/or Caption the other to trigger the ComboBox.

    Here check it out...
    Attached Files Attached Files

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    40

    Re: Dropdown buttons with Windows Common Controls 5.0

    Thanks mate, that's exactly what i needed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width