473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do I paint the combo box dropdown button in a datagridview column

I'm currently doing some styling to an extended
datagridviewcomboboxcolumn. I can manually paint the borders, value,
and background just fine. How do I draw the combobox drop down button
in the cell?

This is driving me absolutely crazy. Somebody please help.

Thanks in advance,

Nathan

Sep 10 '06 #1
1 3809
ControlPaint.DrawComboButton

/claes

<je****@gmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
I'm currently doing some styling to an extended
datagridviewcomboboxcolumn. I can manually paint the borders, value,
and background just fine. How do I draw the combobox drop down button
in the cell?

This is driving me absolutely crazy. Somebody please help.

Thanks in advance,

Nathan

Sep 11 '06 #2

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

Similar topics

8
by: Lyn | last post by:
Hi, Can anyone tell me how the initial value displayed in Combo Box is determined when a form is opened? I am loading the dropdown from one field ("CategoryName") of a table, with "ORDER BY ". ...
3
by: Mike Cooper | last post by:
I have been staring at the above error for over a week now! I have a an inherited data class looking like thus: Public Class DataGridBoolColumnInherit Inherits...
9
by: bill.jenner | last post by:
I have two related tables I wish to use in a grid. The second table has to drive the list of items apart of a combo box apart of one of the grids columns. Table 1 schema has columns ( . . . ....
0
by: pf | last post by:
I have a combo box in the first column of a Datagridview. The displaymember is the inventory item key. I set the selectedvalue to the item description. I have an event for "OnEditControlShowing"...
2
by: Exick | last post by:
This is more of a minor annoyance/curiosity than a real problem, but I'm wondering if anyone here can provide some answers. I have a form bound to a table with lots of controls on it that are...
0
by: Andrus | last post by:
I'm using WinForms DataGridView I need to make dropdown list wider that grid column width. I tried the following code, but dropdown list widht is the same as column width. How to increase...
2
by: biganthony via AccessMonster.com | last post by:
Hi, I decided to install Office 2003 Service Pack 3 on my home computer to test (in full knowledge that there may be some issues with it). After installation, I have noticed that with a small...
0
by: Andrus | last post by:
I need to make dropdown list wider than column width. I tried code below but dropdown width is not increased when I open dropdown. How to increase it ? using System; using...
0
by: JB | last post by:
Hi All, I have a DataGridView with a column showing a combo box containing non binded values (i.e. I set the values in the Combo myself using ComboBoxColumn.Items.Add). I also want this Combo...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.