CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    WA
    Posts
    17

    Combobox dropdown


    I have a control similar to a combobox. When I click on the button to display the dropdown list (a WS_POPUP window), the main app. window's titlebar greys out. I know this is the normal behavior. My question is how do I mimick the combo box's behavior by keeping (or at least appearing to keep) the title bar active when the dropdown window appears.

    Thanks,
    Karen


  2. #2
    Join Date
    May 1999
    Posts
    48

    Re: Combobox dropdown

    Don't use the WS_POPUP style. Use WS_CHILD, with GetDesktopWindow. If you have problem with refection messages, you have to create a window which purpose is to forwarrd all reflected messages to your WS_CHILD window.
    Sincerely, Mihai



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured