RE: Win32Lib and Common Controls version 6

new topic     » goto parent     » topic index » view thread      » older message » newer message

Elliott S. de Andrade wrote:
> 
> 
>      As I had suspected, if you comment out the WM_CTLCOLOREDIT and 
> WM_CTLCOLORLISTBOX handlers, there is no longer that black box drawing 
> problem on combo boxes (with Common Controls 6.) You could probably 
> comment 
> out the WM_CTLCOLORBTN and WM_CTLCOLORSTATIC, but those have more chance 
> of 
> having a different colour set up...
> 
> ~[ WingZone ]~
> http://wingzone.tripod.com/

Thanks, that's at least a start...  just commenting the 
WM_CTLCOLORLISTBOX by itself seems to fix the dropdown portion.  
Commenting WM_CTLCOLOREDIT gets rid of the black line under the text in 
the actual control.

I did read the following but wasn't sure what to change in Win32Lib:

A combo box in a version 3.x application uses the WM_CTLCOLORLISTBOX 
message to retrieve the text and background colors. In a version 4.0 or 
later application, a combo box uses the WM_CTLCOLOREDIT or 
WM_CTLCOLORSTATIC message instead.

Derek, if this doesn't break anything else, can we eliminate these 
handlers?

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu