Solved

ComboBox SropDownList style?

Posted on 2008-10-06
12
218 Views
Last Modified: 2012-05-05
I have ComboBoxes whoes style I specified as DropDownList. It works fine on my PC (Vista 64) but when running on XP in a Virutal PC the ComboBoxes appear as they were a DropDown style. What could be causing this?
0
Comment
Question by:Julypobox
  • 6
  • 6
12 Comments
 
LVL 11

Expert Comment

by:melmers
ID: 22656726
I think it's the theme. Have you disabled the themes on your winxp machine or set them to classic ?
0
 

Author Comment

by:Julypobox
ID: 22656800
Yes I have. The themes do change the way it looks, but the dif of ListBox and Dropdown is very pronounced and changing the thems does not fix this.
0
 
LVL 11

Expert Comment

by:melmers
ID: 22656820
Have you enabled the visual styles ?
you can check this when you look at controlpanel->system->Advanced->Performance Settings->Use visual styles on windows and buttons.

Or activate on the Visual Effects the "adjust for best appearance" radiobutton
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Julypobox
ID: 22660439
yes, Use Visual Styles is Checked
As well the radio button is set for Adjust for Best Appearance.

Also besides the dropdown that is not showing correctly, there are panels whoese Border/Box does not show
0
 
LVL 11

Expert Comment

by:melmers
ID: 22660600
have you tried it on a native xp pc not one in a virtual pc ?
0
 

Author Comment

by:Julypobox
ID: 22666787
melmers
I just tested it on a regular (non vm) pc running xp and it has the same problem. However on the pc with xp it does shoe the box/border of the panel, something the virtual pc is not
0
 
LVL 11

Expert Comment

by:melmers
ID: 22666848
Can you post  a screenshot of your vista and one of your xp ?
0
 

Author Comment

by:Julypobox
ID: 22669061
Here are screenshots of how it is in Visa vs XP
DropDown-ListBox-vista.jpg
DropDown-ListBox-XP.jpg
0
 
LVL 11

Expert Comment

by:melmers
ID: 22676269
Have you on Vista Aero enabled ?
0
 

Author Comment

by:Julypobox
ID: 22684930
No. I just turned it on, and I see no diferrence.
0
 

Author Comment

by:Julypobox
ID: 22684939
But this led me to try a few more options, and what I find is that when I select Windows Classic I get what I am seeing on the other computers running XP, when I select Vista Basic or Aero I get the other look that I posted. So I guess this is just the way it is with Vista vs XP
0
 
LVL 11

Accepted Solution

by:
melmers earned 50 total points
ID: 22685022
i have tested some things and i think it is not possible that you create a UI which looks same on XP and Vista with standard controls. When you need that it look like you must  look if you get 3rd-Party controls which make it look the same on vista and xp but i in my oppinon it is not so bad when the ui style changes from os to os because users not realize the different ui style they remember the positions of labels and buttons to work not the shape or color of a control.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question