Graphics::TBitmap *bmp=NULL;
bmp=new Graphics::TBitmap;
bmp->Width=Panel->ClientWidth;
bmp->Height=Panel->ClientHeight;
bmp->Canvas->Brush = Panel->Brush;
bmp->Canvas->FillRect(Panel->ClientRect);
bmp->Canvas->Lock();
대략 이런식으로 생성할때 쓰는것 같은대 bmp->Canvas->Lock(); 이게 의미가 뭔지 왜 있어야 하는건지를 모르겠내요
|