i can not see any resize Event in your example
after create the form in Fullscreen
so i not understand what your do.
greets
The Form is resized inside of
TakeScreenshot procedure.
yes and then?
i see a Fullscreen without drawing any and after can't resize the form.
not understand how your see the flicker.. nothing is draw to the Fullscreen Window
sorry for my bad english.
Zitat:
Ex: the parameters received are of my Form? could give a example about where apply this function?
how?
if nothing paint on the fullcreen and i can not resize it.
and you has a example see my Starwars Scrolltext, please compare
if understand your code correctly then you create a CompatibleDC here.
DesktopCanvas := TCanvas.Create;
that should be
DesktopCanvas := DoubleBuffer(Form1.Canvas.Handle, rc.Right, rc.Bottom, CreateBuffer);
now draw to DesktopCanvas
..
then use
DoubleBuffer(0, 0, 0, DestroyBuffer);
which bitblt your result to the Target window and free the ressources.
greets