Hello,
I have an issue with the drop-down list of a subclassed combo box, with its background actually.
The situation is the following: there is a big holder window which contains a combo box, subclassed. The window class of the main window specifies a gray brush (COLOR_3DFACE), used by Windows to erase its background.
The combo box is handling the WM_ERASEBKGND on its own (it does not do anything).
Now the problem is that the drop-down list of the combo gets to be repainted with the gray brush. The ugly effect is that the gray rectangle is overdrawing rectangles that do not need to be painted, for instance when I resize making the main window smaller.
Is there any way to get the WM_ERASEBKGND for the drop-down list ?
Thank you. Cosmin