Hey everybody,

Two quick questions about combo boxes:

1) Anyone know how to hide the button to drop down the list?

2) Anyone know how to get rid of the ClientEdge/3d look of a combo box? I tried GetWindowLong/clear WS_EX_CLIENTEDGE/ SetWindowLong and it didn't work...

Thanks

--Chorus
Posted on 2002-07-09 17:41:43 by chorus
For both, you will need to subclass the control and intercept its WM_PAINT message. I think there is an example Iczelion's site about flat combo-boxes, that could help you out.
Posted on 2002-07-09 18:40:22 by comrade