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. ATL / WTL / STL
  4. Combo heigth problem

Combo heigth problem

Scheduled Pinned Locked Moved ATL / WTL / STL
helpquestion
5 Posts 3 Posters 11 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
    Jose Cruz
    wrote on last edited by
    #1

    How do I set my combos height wich resides in a DialogBox:zzz:

    P 1 Reply Last reply
    0
    • J Jose Cruz

      How do I set my combos height wich resides in a DialogBox:zzz:

      P Offline
      P Offline
      Paul M Watt
      wrote on last edited by
      #2

      First make a call GetDlgItem with the handle of the parent dialog and the ID of your combo box. This will return a handle to the combo box to you. You can then use that handle in a call to MoveWindow to resize and move the combo box.


      Build a man a fire, and he will be warm for a day
      Light a man on fire, and he will be warm for the rest of his life!

      J 1 Reply Last reply
      0
      • P Paul M Watt

        First make a call GetDlgItem with the handle of the parent dialog and the ID of your combo box. This will return a handle to the combo box to you. You can then use that handle in a call to MoveWindow to resize and move the combo box.


        Build a man a fire, and he will be warm for a day
        Light a man on fire, and he will be warm for the rest of his life!

        J Offline
        J Offline
        Jose Cruz
        wrote on last edited by
        #3

        The problem is when I click on the combos down arrow, it won`t display the list. The list does contains some items. But I can`t see them.

        E 1 Reply Last reply
        0
        • J Jose Cruz

          The problem is when I click on the combos down arrow, it won`t display the list. The list does contains some items. But I can`t see them.

          E Offline
          E Offline
          Ed Gadziemski
          wrote on last edited by
          #4

          Bring up your dialog in the resource editor. Click on the dropdown and pull the sizing box downward to the size you want.

          J 1 Reply Last reply
          0
          • E Ed Gadziemski

            Bring up your dialog in the resource editor. Click on the dropdown and pull the sizing box downward to the size you want.

            J Offline
            J Offline
            Jose Cruz
            wrote on last edited by
            #5

            Thakn you for your answer. Seems like everything it`s dificult not knowing how to do it

            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