Hi
In my MFC dialog based application, i am using a JPEG file as a background
for my dialog box whose code i have given in the
OnEraseBkgnd() in the dialog class.
Also i have few static controls on my dialog box -- a static text, 2 buttons
& a list control to be precise. In order to have the background of these
controls as transparent i have written the neccessary code inside the
OnCtlColor().
When the application is run, everything is perfect but as soon as i click on
the column divider in the list control & drag it to decrease column size,
the buttons & the static text disappears.
When i drag the column divider to increase the column size things stay
perfect.
Now when i bring the mouse over the button they are displayed.
What cude be the possible reason for such behaviour.
Waiting for suggestions