Tbutton控件加图形的问题(45分)

  • 主题发起人 主题发起人 Michaelzhao
  • 开始时间 开始时间
M

Michaelzhao

Unregistered / Unconfirmed
GUEST, unregistred user!
btnNewStart:=TButton.Create;
btnNewStart.Caption := '开始';
NewImage := TPicture.create;
NewImage.LoadFromFile('C:/Windows/Circles.BMP');
OldBitmap := SendMessage(btnNewStart.Handle,
BM_SetImage, 0,
NewImage.Bitmap.Handle);
ShowWindow(btnNewStart.handle,SW_SHOW);
总是加不上图形,如何加,谢谢
 

用Bitbtn吧
 
倒!bitbtn那么好的东东摆在那,为什么非要给button自己画glyph呢?
 
这是自己做开始菜单,盖住window98的开始位置
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
952
SUNSTONE的Delphi笔记
S
后退
顶部