|
이걸로 어떻게 해결이 안될까요~
Glyph, NumGlyphs example
These lines of code load a four-image bitmap into the Glyph property of a speed button, and specify the appropriate value for the NumGlyphs property:
SpeedButton1->Glyph->LoadFromFile("MYBITMAP.BMP");
SpeedButton1->NumGlyphs = 4;
Hyoun 님이 쓰신 글 :
: TSpeedButton에서 Glyph의 그림을 계속 변경하려 합니다.
:
: 그래서 제가 해본 방법이
:
: ImageList를 만들고
: ImageList->Draw( TSpeedButton->Glyph->Canvas, 1, 1, 0, true )
: 이런방법을 해 봤습니다. 그런데 이미지가 변경이 되질 않더군요
:
: 다른 방법으로
: ImageList1->GetBitmap( iFlag, Image2->Picture->Bitmap );
: 이런방법도 해봤으나 역시 변경이 되질 않더군요.
:
: SpeedButton의 이미지를 소스에서 계속 변경 할 수는 없나요?
|