Bug in Visual Studio 8 ???

Hi all

Need help, can someone confirm me this:

I make a new MFC Project with the Project Wizzard -> Application type: Dialog based -> Without using UNICODE Librarys and then all the default settings.

After that i added an Combo Box and typed in the Proberties Data field in the Proberties: 'COM1;COM2;COM3;'

Now when i build the Project and start it, i can't open the Data field by clicking on the Combo Box Icon, but with when i give focus on the Box and move with the currsor keys up and down i can select the Data ( COM1 a.s.o ), very strange, if i change the property from the Project to 'Use Unicode Character Set' and rebuild it then it works ( only for WinXP not on Win2000) i can open the Data field from the Combo Box.

But now the strangest thing !

I have a old MFC Project where i use also this Combo Box and on this Project it is working to open the ComboBox, so now when i copy and paste one of this Combo Box'es to my current Project that i can open the Data field from the Combo Box !!! And i have checked all the proberties settings and they are the same !!

Any Clue



Answer this question

Bug in Visual Studio 8 ???

  • zfuller123

    Yes you are right it does not drop down, when i change the project properties to 'Use Unicode Character Set' then it works ( but only on WinXP not on Win2000 ) and when i copy/paste a combobox control from a different older Project ( Where the comboboxes can drop down ) it works also, now i have a test appl. where i have 2 combo controlls and one you can drop down ( the one from the older project ) and one how can't drop down, this is realy driving me crazy !! And the proberties settings of this two controlls are totaly identical

    btw. in the dialog editor i also can't open the combobox, but this is normal i think

    RG


  • AAAshish

    Oh, i just found the answer in newsgroup:

    Darren Anderson wrote:
    > I've been trying to get my ComboBox controls to show their drop down menu in 
    > an MFC dialog based app; but all I ever see is a thin black line under the 
    > bottom of the control when I click on the drop down arrow.  I tried creating 
    > a new dialog project, and tested the ComboBox control again to have the exact 
    > same results. I have tried to add static data in the resource editor; and 
    > tried to dynamically add strings during run time.  The data is there, when I 
    > use the arrow keys to find it.  Has anyone else experienced this problem   
    > 
    > I have XP SR2, VS.NET 2003. 
    > 
    > Anyhelp would be wonderful, thanks!
    > Darren
    
    u did not set the drop down window height. click on the spinner control 
    in the combobox in the resource view and adjust the drop down window 
    height.
    


  • Michael Hotek

    As I understand, the combo box doesn't drop down

    Click on the drop down button and resize the Combobox to the sie you want.

    Verify in the dialog editor in the test mode if the combobox allows to open.



  • Bug in Visual Studio 8 ???