更改图标对话框

  • 主题发起人 主题发起人 import
  • 开始时间 开始时间
I

import

Unregistered / Unconfirmed
GUEST, unregistred user!
SHChangeIconDialog(hwnd,filename,0,index);
function SHChangeIconDialog;external 'shell32.dll' index 62;
function SHChangeIconDialog(h:hwnd;filename:pchar; Reserved:integer;var index:integer):integer;stdcall;
{
procedure TForm1.Button1Click(Sender: TObject);
var
b:integer;
str:array[0..MAX_PATH] of char;
begin
b:=0;
if opendialog1.Execute then
begin
strpcopy(str,opendialog1.filename);
shChangeIconDialog(handle,str,0,b);
end;
showmessage(str);
end;
}
function SHChangeIconDialog(h:hwnd;filename:pchar; Reserved:integer;var index:integer):integer;stdcall;
 

Similar threads

I
回复
0
查看
484
import
I
I
回复
0
查看
477
import
I
I
回复
0
查看
1K
import
I
I
回复
0
查看
575
import
I
后退
顶部