How can I minimize the window?

Use the following HEScript procedure:

Const SW_MINIMIZE = 6;  // Add this line to the top of your script

function GetActiveWindow: Cardinal; stdcall; external "user32.dll";

function ShowWindow(hWnd : Cardinal; nCmdShow : Cardinal): Cardinal; stdcall; external "user32.dll";

procedure Minimize;
var hWnd : Cardinal;
begin
hWnd := GetActiveWindow();
ShowWindow(hWnd, SW_MINIMIZE);
end; 

imgFrequently Asked Questions

imgSearch and post your questions to the user forum

 


About

This is the online documentation of HTML Executable.

About HTML Executable

HTML Executable is a versatile HTML compiler and ebook compiler: it lets you create secure ebooks and desktop applications with your websites, HTML or PDF documents.

You can easily create attractive ebooks, full-featured HTML applications (RIA) and software, digital publications from your websites, PDF files and HTML documents for online or offline distribution.

Learn more - Free Trial