| | |
reduce flicker on timage
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2007
Posts: 23
Reputation:
Solved Threads: 0
hi, im creating a simple image editor/drawer and im having problems with flicker when the canvas is refreshd on draw.
ive got
on my form, but im still getting bad flicker when i run my draw shape code such as
are there any other methods i can use to remove it?
im using Borland C++ 6
thanks
ive got
C++ Syntax (Toggle Plain Text)
frmPMain->DoubleBuffered = true;
C++ Syntax (Toggle Plain Text)
void Pixie_Draw::DragSquare( int X, int Y, int Width, int Height, TImage* OriginalImage,Graphics::TBitmap* BackBuffer) { Graphics::TBitmap* result = new Graphics::TBitmap(); result->Assign(BackBuffer); result->Canvas->Rectangle(X,Y,Height,Width); OriginalImage->Picture->Bitmap->Assign(result); delete result; }
are there any other methods i can use to remove it?
im using Borland C++ 6
thanks
•
•
Join Date: Dec 2007
Posts: 23
Reputation:
Solved Threads: 0
BUMP
anyone got any ideas?! ^.^
after reading a bit more material online, i think it has somthing to do with when repaints called by the assign and the img is cleard and so dosnt have a image for a split second before the new image is aplied and refreshd? am i right there?
if so how can i stop the bugger from doing it! lol
thanks
anyone got any ideas?! ^.^
after reading a bit more material online, i think it has somthing to do with when repaints called by the assign and the img is cleard and so dosnt have a image for a split second before the new image is aplied and refreshd? am i right there?
if so how can i stop the bugger from doing it! lol
thanks
![]() |
Other Threads in the C++ Forum
- Previous Thread: problem with linked list
- Next Thread: code to push stack1 onto stack2
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





