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. Overlapping controls

Overlapping controls

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

    Hi All, I wanted to know the difference in creation of the list box which drops down from a combo box and the list box control which we can embed on a dialog by drag and drop from the control menu. The list box that drops down from the combobox can overlap on other controls and still the focus is on the list box when the mouse is moved over the overlapping area of this list box and other controls. But if we manually overlap listbox and some other control,the focus cannot remain on the list box in this overlapped area,but focus goes to other control. Can someone tell me how to make the focus remain on the list box though the list box and some other controls get overlapped. Thanks in advance Raghu

    M 1 Reply Last reply
    0
    • R Raghunandan S

      Hi All, I wanted to know the difference in creation of the list box which drops down from a combo box and the list box control which we can embed on a dialog by drag and drop from the control menu. The list box that drops down from the combobox can overlap on other controls and still the focus is on the list box when the mouse is moved over the overlapping area of this list box and other controls. But if we manually overlap listbox and some other control,the focus cannot remain on the list box in this overlapped area,but focus goes to other control. Can someone tell me how to make the focus remain on the list box though the list box and some other controls get overlapped. Thanks in advance Raghu

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      The list box portion of a combo box is handled specially. It's actually a child of the desktop, not the combobox itself or the dialog. That way, the list can extend outside of the parent dialog (look at the Start->Run dialog for an example). -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four!

      R 1 Reply Last reply
      0
      • M Michael Dunn

        The list box portion of a combo box is handled specially. It's actually a child of the desktop, not the combobox itself or the dialog. That way, the list can extend outside of the parent dialog (look at the Start->Run dialog for an example). -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four!

        R Offline
        R Offline
        Raghunandan S
        wrote on last edited by
        #3

        thankyou. the answer was helpful Raghu

        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