Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Render Vista Style ComboBox

Render Vista Style ComboBox

Scheduled Pinned Locked Moved C#
questionregextutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lea Hayes
    wrote on last edited by
    #1

    Hi all, I want to create a custom combo box control which has some extra buttons. Whilst I can render the various parts of the control using "ComboBoxRenderer", the controls do not match the other Vista combo boxes. This makes any form using such comboboxes look strange because there are two flavours. The proper Vista ComboBox controls are a rounded edged rectangle with a black down arrow (white background). When you hover the mouse over the arrow the button appears. The "ComboBoxRenderer" shows a non-highlighted button with a black down arrow on it. How can I draw the proper Vista style combo box themed visuals AND still have it compatible with Windows XP? It would be great if someone could offer an example. Cheers! Lea Hayes

    B 1 Reply Last reply
    0
    • L Lea Hayes

      Hi all, I want to create a custom combo box control which has some extra buttons. Whilst I can render the various parts of the control using "ComboBoxRenderer", the controls do not match the other Vista combo boxes. This makes any form using such comboboxes look strange because there are two flavours. The proper Vista ComboBox controls are a rounded edged rectangle with a black down arrow (white background). When you hover the mouse over the arrow the button appears. The "ComboBoxRenderer" shows a non-highlighted button with a black down arrow on it. How can I draw the proper Vista style combo box themed visuals AND still have it compatible with Windows XP? It would be great if someone could offer an example. Cheers! Lea Hayes

      B Offline
      B Offline
      badtoto
      wrote on last edited by
      #2

      i have the same question , and don't know how to solve it, i googled it and found here Have you fixed it yet ? regards badtoto

      L 1 Reply Last reply
      0
      • B badtoto

        i have the same question , and don't know how to solve it, i googled it and found here Have you fixed it yet ? regards badtoto

        L Offline
        L Offline
        Lea Hayes
        wrote on last edited by
        #3

        Hi, I am afraid that I was unable to find a solution to this problem. So I resorted to just having two styles of combo box in my program, doesn't look as good as it could have, but nevertheless, functional. If you do manage to find a fix, it would be great if you could post it here as this is something that I too am still interested in. Many thanks, Lea Hayes

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups