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. Controlling a ComboBox's DropDown's Location

Controlling a ComboBox's DropDown's Location

Scheduled Pinned Locked Moved C#
com
2 Posts 1 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.
  • A Offline
    A Offline
    adrianna_r
    wrote on last edited by
    #1

    Hello, I'd like to know if there is any way to make the DropDown part of a ComboBox open with its top-right corner aligned to the bottom-right corner of its ComboBox. Like this.[^]. Right now I'm trying to create a control of my own that inherits from a ComboBox and overriding the OnPaint and OnDrawItem methods, but I have yet to hit on a solution for this.

    -M.

    A 1 Reply Last reply
    0
    • A adrianna_r

      Hello, I'd like to know if there is any way to make the DropDown part of a ComboBox open with its top-right corner aligned to the bottom-right corner of its ComboBox. Like this.[^]. Right now I'm trying to create a control of my own that inherits from a ComboBox and overriding the OnPaint and OnDrawItem methods, but I have yet to hit on a solution for this.

      -M.

      A Offline
      A Offline
      adrianna_r
      wrote on last edited by
      #2

      Never mind. I found something[^] that works. I don't know -how- it works or why there doesn't appear to be a simpler way, but it's better than nothing.

      -M.

      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