H heduolami Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-24 #1 怎樣在listview控件底畫圖??我知道的就是先設置ownerdraw的屬性為true.然後怎麼辦? 請指教!
林 林枫 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-09 #3 简单: procedure TForm1.ListView1CustomDraw(Sender: TCustomListView; const ARect: TRect; var DefaultDraw: Boolean); begin bitmap:=Tbitmap.Create ; bitmap.LoadFromFile('c:/当前壁纸.bmp'); listview1.Canvas.Draw(0,0,bitmap); end; 是不是你要的
简单: procedure TForm1.ListView1CustomDraw(Sender: TCustomListView; const ARect: TRect; var DefaultDraw: Boolean); begin bitmap:=Tbitmap.Create ; bitmap.LoadFromFile('c:/当前壁纸.bmp'); listview1.Canvas.Draw(0,0,bitmap); end; 是不是你要的