473,748 Members | 4,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The Reason why ComboBox control is unfinished (3 times !)

Hi !

I have a question : the ComboBox control have NO single border, and height
is at least 1 pixel higher than TextBox.

There is absolutely NO good reason for making a ComboBox looking that way.

My question is WHY Microsoft did that in the 3 versions of Visual
Studio/.NET releases (and probably will stay like that in the next version
of VS) ????

A) MS Developer forgot 3 times to finish that control ?
B) The same beginner did the same mistake 3 times and QC missed that 3
times ?
C) Microsoft want to be sure to keep design advantage on their customers
giving them unfinished controls ?
D) Microsoft encourage their customers to learn about control design
development ?
E) Other ?
I'll bet on the C.

If somebody have an idea.. I'm curious to know the explanation.if there is
any.

Steph.


Nov 22 '06 #1
2 1321

You sound really frustrated. What exactly are you trying to accomplish
that you are having trouble doing without the single border or pixel
height that matches a text box?

They probably didn't think that devoting resources to making it more
robust would be worth the amount of usage those extra features would
use.

-Aaron
TheSteph wrote:
Hi !

I have a question : the ComboBox control have NO single border, and height
is at least 1 pixel higher than TextBox.

There is absolutely NO good reason for making a ComboBox looking that way.

My question is WHY Microsoft did that in the 3 versions of Visual
Studio/.NET releases (and probably will stay like that in the next version
of VS) ????

A) MS Developer forgot 3 times to finish that control ?
B) The same beginner did the same mistake 3 times and QC missed that 3
times ?
C) Microsoft want to be sure to keep design advantage on their customers
giving them unfinished controls ?
D) Microsoft encourage their customers to learn about control design
development ?
E) Other ?
I'll bet on the C.

If somebody have an idea.. I'm curious to know the explanation.if there is
any.

Steph.
Nov 22 '06 #2
"TheSteph" <Th******@NoSpa m.comwrote in message
news:eI******** ******@TK2MSFTN GP03.phx.gbl...
Hi !

I have a question : the ComboBox control have NO single border, and height
is at least 1 pixel higher than TextBox.

There is absolutely NO good reason for making a ComboBox looking that way.

My question is WHY Microsoft did that in the 3 versions of Visual
Studio/.NET releases (and probably will stay like that in the next version
of VS) ????

A) MS Developer forgot 3 times to finish that control ?
B) The same beginner did the same mistake 3 times and QC missed that 3
times ?
C) Microsoft want to be sure to keep design advantage on their customers
giving them unfinished controls ?
D) Microsoft encourage their customers to learn about control design
development ?
E) Other ?
I'll bet on the C.
Wrong bet. The .NET combobox is a thin wrapper around the good old Win32 Combobox - it
existed long before .NET and as such have nothing to do with .NET nor will it change with
the next version of VS.

Willy.

Nov 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2193
by: Flack | last post by:
Hello, I am beginning to write a custom combobox control. Right now it doesn't do anything special. I created a class that extends ComboBox: public class TimeSelector : System.Windows.Forms.ComboBox and in its constructor I call Populate: public TimeSelector()
5
2154
by: ross kerr | last post by:
Hi All, I am extending the combobox to create a control that selects an item based on the text the user is typing into the text area of the control. I have an issue that occurs only when i drop down the combo box as the users typing. When the on leave event is fired the value in the selected
4
4018
by: Keith | last post by:
Hello - this started out as a minor annoyance - and now is starting to bother me more and more - I'm hoping someone can help me. I would like to have a combobox display - NOT initially be blank - but contain a value. However the value is just for user reference - not really one of the combobox choices. For example intially the combobox should equal the word Select - and the item values can be say 'one', 'two', and 'three'.
6
3130
by: Juan Pedro Gonzalez | last post by:
I wanted to add a Combobox to a toolbar... Kind of the look you get on VisualStudio's toolbar. I've been able to find some VB 6 samples, but the placeholder option is no longer available for ToolbarButtons... Does anyone know how this could be done? Looking forward to hear from you,
2
6202
by: Don | last post by:
I've looked high and low for some code that will allow me to have a combobox with a flat borderstyle. I found a few examples, but nothing that was really usable for me. I had the following criteria that I wanted to meet, but nothing did: - No reliance on a separate library - No unmanaged code - Easy subclassing of System.Windows.Forms.Combobox (i.e. no custom control monstrosity) - No extra funky features that I didn't need
4
5544
by: Vish | last post by:
Hi, I need to make the text on a combobox that is disabled to be drawn with a black color. I was not able to find any help on this online. The drawItem seems to apply only for the dropdpwn items. Any ideas or sugesstions would be appreciated. Thank you,
1
2002
by: stabilo | last post by:
VB.NET 2003 On my Winform, I have a combobox filled with data from a SQL table. How can I have this combobox with 3 or 4 columns ? Is there a control that could have the same type of layoout and behavior as for the Access combox box control ? I'm iin fact moving from VA to VB.NET
1
2473
by: Rosie | last post by:
I have a main form with header info w/ 'tHeader' as the control source. I have a subform with 'tDetail' as a control source. They're strung together by a field named MA_ID. This works fine. I have a field within the subform that I want to update via a combobox located on the same subform.
5
10831
aas4mis
by: aas4mis | last post by:
I haven't had much luck with specific controls, their properties and loops in the past. I thought I would share this tidbit of code, feel free to modify/modularize in any way to suit your needs. This function may be called from the combobox after_update event or a "clear filter" buttons after_update event. I placed this in a module. Oh, one more thing... I happened to have my FK in column 1 of the combobox, this may need changed. Sorry if I...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.