Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flat style combo box ?

Status
Not open for further replies.

SteveBrett

Programmer
Apr 24, 2000
107
MT
Hi
Does anyone know if it's possible to have a combo that has a flat stle ?

All my buttons are flat, my labels have a single border but then the combos just look odd as they have the 3d style ...

Tia,

Steve
 
Only by creating an owner drawn combo, overriding the WM_PAINT message and drawing a flat border and button yourself.

Try I'm sure I saw a couple of samples there.
 
thanks,

I found a few examples myself on the net but wondered if there was a quicker way ... seems to be an oversight on the part of MS ...
 
The quickest way is to find a free flat combo control that someone else has created ;-)
 
indeed - my boss is paranoid about controls other people have written though , along with a host of other things ;-)

i might have a crack at overriding paint on the default combo ...

cheers

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top