Arsip: Minimize secondary-form ke taskbar


by LuriDarmawan in Form more 14 years ago 1773
Rekan-rekan dapat meminimize secondary-form ke taskbar, cukup mudah.
ini source-nya:
 type
TForm = class(TForm)
...
private
{ Private declarations }
procedure CreateParams(var Params: TCreateParams); override;
end;
implementation
.....
procedure TForm.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
{ Set the extended style for iconizing to the taskbar }
{ See CreateWindowEx }
with Params do exStyle := exStyle or WS_EX_APPWINDOW;
end;
Syntax Highlighted with https://pascal-id.org/syntax


referensi:
http://www.delphifaq.com/delphi_windows_with_delphi.htm
Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com