CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Controls - CComboBox

    I have added a CComboBox to my dialog and for some reason when I run it and select the down arrow of the CComboBox nothing displays below. I have tried inserting values in both the resource file by inserting them in properties and I have tried inserting them in the OnInitDialog routine of the dialog in which the CComboBox is a member of. The CComboBox does list the items when a characters corresponding to one of the items in the list is pressed. This shows me that the values are associated with the CComboBox but that it is just not opening down. What am I doing wrong?


  2. #2
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: Controls - CComboBox

    Hi,

    you're doing nothing wrong. Only CComboBox with an edit control opens with the down arrow, a CComboBox with a static only changes the content of the static.


    Martin

  3. #3
    Guest

    Re: Controls - CComboBox

    The text inside the CComboBox changes alright but when I try to pull down the menu, it only displays a pixel size line below the combo box. This is the main problem I am facing. I need to know what needs to be done to be able to pull down the menu.

    -Dave


  4. #4
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: Controls - CComboBox

    Hi Dave,

    sorry, I understood you wrong. The solution for your problem is, go to the RessourceView, click on the arrow of the combobox, and then you can change the vertical size of the control.


    Martin

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