안녕하세요. 천리안 프로그래머포럼 C++Builder 담당자 임펠리테리입니다.
아래에 답변이 있는데.. 아마도 코드로 하는 방법을 물으신 게 아닌가 싶네요.
여긴 유저포럼이 아니라 프로그래머포럼이니까요.. ^^;;;
대충 생각나는대로 코드를 작성해보면...
TBitmap *SrcBmp = new TBitmap;
SrcBmp->LoadFromFile("원본파일이름");
TBitmap *DestBmp = new TBitmap;
DestBmp->Width = 16;
DestBmp->Height = 16;
DestBmp->Canvas->StretchDraw(Rect(0,0,15,15), SrcBmp);
delete SrcBmp;
대충 이정도로 하면 되겠네요.
그럼 참고하시길...
독립문에서 임펠리테리였습니다.
(cbuilder, cbuilder@thrunet.com)
|