var
b:Tbitmap;
procedure TForm1.FormCreate(Sender: TObject);
var
h:hmenu;
begin
h:=getSystemMenu(handle,false);
b:=Tbitmap.create;
b.LoadFromFile('d:/test.bmp'); // 16X16
InsertMenu(h,0 ,MF_BYPOSITION or MF_STRING,0,'的新添的菜单');
SetMenuItemBitmaps(h,0 ,MF_BYPOSITION ,b.handle,b.handle);
end;
procedure TForm1.FormDestroy(Sender: TObject);
begin
b.free;
end;