M
mrabie
Hi All,
I am developing a list control where i override the OnPaint even since
i am drawing all the elements of the control manually and also
manually handling the scroll. I want to have the background of the
control to be semi-transparent, so what i thought of is to capture the
form's area where the control is placed and add it to the background
buffer i have. It works fine but the problem is that the capture is
done before the forms actually loads so i get the image of the desktop
and not the form itself (since i do the capturing in the form_load
function. Is there a way to overcome this? that i don't capture the
image except after the form background if drawn or the form is visible
then maybe show my control?
thank
I am developing a list control where i override the OnPaint even since
i am drawing all the elements of the control manually and also
manually handling the scroll. I want to have the background of the
control to be semi-transparent, so what i thought of is to capture the
form's area where the control is placed and add it to the background
buffer i have. It works fine but the problem is that the capture is
done before the forms actually loads so i get the image of the desktop
and not the form itself (since i do the capturing in the form_load
function. Is there a way to overcome this? that i don't capture the
image except after the form background if drawn or the form is visible
then maybe show my control?
thank