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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Combo box being clipped by parent

Combo box being clipped by parent

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • R Offline
    R Offline
    ReX
    wrote on last edited by
    #1

    Hello, I have created a CDialog. Inside it I have put a CComboBox and have added items to it. Whats happening is that when i click the drop down arrow it clips the drop list inside the dialog only showing the number of items that will fit above the bottom of the dialog. Is it possible to get it not to clip the droplist within the dialog ? Thanks ReX

    T 1 Reply Last reply
    0
    • R ReX

      Hello, I have created a CDialog. Inside it I have put a CComboBox and have added items to it. Whats happening is that when i click the drop down arrow it clips the drop list inside the dialog only showing the number of items that will fit above the bottom of the dialog. Is it possible to get it not to clip the droplist within the dialog ? Thanks ReX

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      Dialog shouldn't clip the dropdown part of combo. Make sure that dropdown rectangle is big enough - click on dropdown arrow in resource editor and adjust the rectangle height. Tomasz Sowinski -- http://www.shooltz.com

      Never argue with an idiot, he'll bring you to his level and beat you with experience.

      R 1 Reply Last reply
      0
      • T Tomasz Sowinski

        Dialog shouldn't clip the dropdown part of combo. Make sure that dropdown rectangle is big enough - click on dropdown arrow in resource editor and adjust the rectangle height. Tomasz Sowinski -- http://www.shooltz.com

        Never argue with an idiot, he'll bring you to his level and beat you with experience.

        R Offline
        R Offline
        ReX
        wrote on last edited by
        #3

        The size of the dropdown rectangle is correct adjusted in the resource editor. If I size the dialog bigger, the the full dropdown list is shown (because dialog bottom is far enough) :confused: ReX

        T 1 Reply Last reply
        0
        • R ReX

          The size of the dropdown rectangle is correct adjusted in the resource editor. If I size the dialog bigger, the the full dropdown list is shown (because dialog bottom is far enough) :confused: ReX

          T Offline
          T Offline
          Tomasz Sowinski
          wrote on last edited by
          #4

          Strange. I've never seen this behavior. Are you doing dirty tricks with subclassing the dropdown part? Tomasz Sowinski -- http://www.shooltz.com

          Never argue with an idiot, he'll bring you to his level and beat you with experience.

          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