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
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
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.