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. Combobox question

Combobox question

Scheduled Pinned Locked Moved C#
question
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.
  • V Offline
    V Offline
    VPMahank
    wrote on last edited by
    #1

    Hai all, I want to show a UserControl instead of the default dropdown list when I click on the ComboBox dropdown arrow. Is there a way to catch this message and show my control instead of this? Thanks in advance. VPMahank

    D 1 Reply Last reply
    0
    • V VPMahank

      Hai all, I want to show a UserControl instead of the default dropdown list when I click on the ComboBox dropdown arrow. Is there a way to catch this message and show my control instead of this? Thanks in advance. VPMahank

      D Offline
      D Offline
      Draders23
      wrote on last edited by
      #2

      There's an example on how to do this (full source) at http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Popup_Windows/article.asp[^] in both C# and VB.net. Draders

      V 1 Reply Last reply
      0
      • D Draders23

        There's an example on how to do this (full source) at http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Popup_Windows/article.asp[^] in both C# and VB.net. Draders

        V Offline
        V Offline
        VPMahank
        wrote on last edited by
        #3

        Draders23, Thanks so much for the link:). I tried overriding the WndProc for the control and show my own customcontrol instead of regular dropdown. Thanks, VPMahank

        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