L lhz Unregistered / Unconfirmed GUEST, unregistred user! 1999-02-05 #3 CreateIconIndirect可以接受HBITMAP作为其AND和XOR平面
C chenke Unregistered / Unconfirmed GUEST, unregistred user! 1999-02-06 #5 ico -> bmp easy,因为bmp有canvas, bmp ->ico :-(
草 草动 Unregistered / Unconfirmed GUEST, unregistred user! 1999-02-07 #6 这样转换就行了! uses ShellAPI; OpenDialog1.Execute; with Image1.Picture do begin Width:=32; Height:=32; Icon.Handle:= Extracticon(Hinstance,@OpenDialog1.FileName[1],0); SavetoFile('C:/frombmp.ico'); end;
这样转换就行了! uses ShellAPI; OpenDialog1.Execute; with Image1.Picture do begin Width:=32; Height:=32; Icon.Handle:= Extracticon(Hinstance,@OpenDialog1.FileName[1],0); SavetoFile('C:/frombmp.ico'); end;