mfc >> ComboBox drop-down size shrinks under win2000

by VGhvbWFzIFNlZGxhY3plaw » Mon, 13 Mar 2006 17:37:28 GMT

Hi all,

I have a ComboBox in a CDialog and my application has manifest enabeld. When
I install the application under win2000 the ComboBox drop-down menu shrinks
to a small line where as under XP it appears with the right size (I used XP
for development). Has anyone an idea what to do here? Is there any known
issue?

Thank you very much for any help!

Best regards,
Thomas


mfc >> RE: ComboBox drop-down size shrinks under win2000

by VGhvbWFzIFNlZGxhY3plaw » Mon, 13 Mar 2006 23:57:32 GMT


Problem is solved...!!!

Tank you, anyway!
Thomas



mfc >> ComboBox drop-down size shrinks under win2000

by AliR » Tue, 14 Mar 2006 00:04:03 GMT

Go to the resource editor, open the dialog box, select the combo box, click
on the drop button of the combo box, and resize the drop down list to a
larger size. ;)

AliR.

"Thomas Sedlaczek" < XXXX@XXXXX.COM > wrote in

When
shrinks
XP




ComboBox drop-down size shrinks under win2000

by VGhvbWFzIFNlZGxhY3plaw » Tue, 14 Mar 2006 17:49:26 GMT

Thank you AliR! ;-)

That was indeed the problem here. Just wonder why is it working under XP
without specifying the drop down size?

Regards,
Thomas






ComboBox drop-down size shrinks under win2000

by AliR » Tue, 14 Mar 2006 23:41:12 GMT

My guess would be that microsoft got alot of compliants about people saying
that they don't want to specify a size for the dropdown. So they auto-size.

Maybe Ajay, Tom, or Joe can shed some light on this.

AliR.

"Thomas Sedlaczek" < XXXX@XXXXX.COM > wrote in


click

enabeld.
used
known




ComboBox drop-down size shrinks under win2000

by VGhvbWFzIFNlZGxhY3plaw » Wed, 15 Mar 2006 00:01:26 GMT

No real need for that. Next time I know where to pay attention to. It's just
hard to get over all those little traps if one like wirtes just von time to
time some PC applications. In long therm I may have look if there is an frame
work for dummies! ;-)

Thank you for your help AliR!

Greetz,
Thomas








Similar Threads

1. ComboBox drop up instead drop down

Hello
Clicking on the Combobox right box it show by default an SelectionWnd BELOW
the combobox,
but I want it show ABOVE the Combobox.
How can I achieve this? Thanks.
Tom




2. Drop-down buttons, buttons with a drop-down menu, or something else

3. Is drop-down menu dropped down?

Is there any way to determine whether a drop-down menu from the main menu is 
currently dropped down? The situation arises because I have a couple of 
custom cursors, which appear when the mouse is moved over certain portions 
of the form. Their appearance (vs. the default cursor) is set in the 
OnMouseMove event handler. The problem arises when a main menu item is 
clicked and the cursor is then moved down the drop-down menu. If the 
drop-down menu covers part of the form with the custom cursor, the custom 
cursor appears, rather than the normal arrow cursor I'd want for making a 
menu selection. Even though the drop-down menu is active, the OnMouseMove 
event handler for the underlying form is still active. I can think of some 
unwieldy fixes, but the easy one would be if within the OnMouseMove event 
handler I could just query as to whether any of the drop-down menus from the 
main menu are active. Many thanks in advance.

Eric G. 


4. Drop Down Menu In ComboBox and the Refresh bug - CSharp/C#

5. Auto drop down combobox

I've got what at first appears to be a really simple problem.

I have a dropdown combobox with a list of names in, the user can enter text
into the edit portion or drop the combobox and select a name.

What I need to do is to drop the combobox when the user types and find the
nearest entry to what the user entered (so if they typed A, Andy may be the
nearest entry, the list should scroll, but not select, unless the user uses
arrow down or clicks with the mouse). This should progress this way as the
user enters more text.

I can use the DroppedDown property to drop the combobox, but if I do this in
the TextChanged event, then the nearest item in the combobox is selected and
the text is put into the edit box. I've played around with various state
variables, but none of them give me the functionality I require.

The same problem was solved previously in C++, but can I get the C# code to
work...

Any help would be greatly appreciated?

TIA

- Andy


6. Drop down a combobox programatically ? - CSharp/C#

7. ComboBox drop down button

Hi,

I have a combobox on a form with dropdown style. Is it possible to 'push' 
the dropdown arrow button from code - causing the combobox to dropdown.

regards Jesper, DK

8. Combobox fails to drop down