FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   How to Hide Inno Setup in Taskbar? (https://fileforums.com/showthread.php?t=103362)

Gehrman 29-02-2020 06:52

How to Hide Inno Setup in Taskbar?
 
Please Help
https://www.upload.ee/image/11202746...-29_181838.jpg

shazzla 29-02-2020 07:26

I dont think its possible by innosetup.

Oh. My mistake ? :)

Cesar82 29-02-2020 22:08

try
Code:


[ code]
const
  GWL_HWNDPARENT = (-8);
  GWL_EXSTYLE = (-20);
  WS_EX_TOOLWINDOW = $80;

function GetWindowLong(hWnd, nIndex: Integer): Longint;
  external 'GetWindowLongW@user32 stdcall delayload';

function SetWindowLong(hWnd: HWND; nIndex: Integer; dwNewLong: Longint): Longint;
  external '[email protected] stdcall delayload';

function ShowWindow(hWnd: Integer; uType: Integer): Integer;
  external '[email protected] stdcall delayload';

procedure InitializeWizard();
var
  hWindow: HWND;
begin
  hWindow := GetWindowLong(MainForm.Handle, GWL_HWNDPARENT);
  SetWindowLong(hWindow, GWL_EXSTYLE, GetWindowLong(hWindow, GWL_EXSTYLE) or WS_EX_TOOLWINDOW);
  ShowWindow(hWindow, SW_HIDE);
end;



All times are GMT -7. The time now is 21:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com