ControlPaint.DrawComboButton()
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
Hello! The ControlPaint.DrawComboButton() requires the rectangle inside which the button should be painted. Getting the height is easy, since probably it is equal to combobox height. However, what about the width? In my XP Pro machine it is about 19 pixels, but I would rather find a way to get the width rather than hard code it into the code. I had a look at System.Windows.Forms.SystemInformation, but it doesn't include this information. Regards, Victor. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.futureware.biz/demo.php[^]