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 / C++ / MFC
  4. ComboBox

ComboBox

Scheduled Pinned Locked Moved C / C++ / MFC
graphics
4 Posts 4 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.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    I want to create combobox having my own bitmap button arrow image and draw color on every item and also want to draw the border for combobox. I am thinking to do with OWNERDRAW but I am not getting, can you please suggest any idea to do so. Thanks

    S S R 3 Replies Last reply
    0
    • J john5632

      I want to create combobox having my own bitmap button arrow image and draw color on every item and also want to draw the border for combobox. I am thinking to do with OWNERDRAW but I am not getting, can you please suggest any idea to do so. Thanks

      S Offline
      S Offline
      S p k 521
      wrote on last edited by
      #2

      Did you set the style of ComboBox as CBS_OWNERDRAWVARIABLE?

      1 Reply Last reply
      0
      • J john5632

        I want to create combobox having my own bitmap button arrow image and draw color on every item and also want to draw the border for combobox. I am thinking to do with OWNERDRAW but I am not getting, can you please suggest any idea to do so. Thanks

        S Offline
        S Offline
        Schehaider_Aymen
        wrote on last edited by
        #3

        Try To create a clase Derived from the BAse CComboBox Class and define ur own objects into ur new Class

        "The Ultimate Limit Is Only Your Imagination."

        1 Reply Last reply
        0
        • J john5632

          I want to create combobox having my own bitmap button arrow image and draw color on every item and also want to draw the border for combobox. I am thinking to do with OWNERDRAW but I am not getting, can you please suggest any idea to do so. Thanks

          R Offline
          R Offline
          rp_suman
          wrote on last edited by
          #4

          A Combobox with bitmaps[^]

          -- "Programming is an art that fights back!"

          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