Show / Hide Window - Delphi

DarkCoderSc
Jean-Pierre LESUEUR
var ATargetWindow := FindWindow(nil, 'Untitled - Notepad');
if ATargetWindow = 0 then
Exit();
// Hide Window
ShowWindow(ATargetWindow, SW_HIDE);
// Show Window
ShowWindow(ATargetWindow, SW_SHOW);
Creating and researching code snippets takes time and effort. You’re welcome to share them through your own platforms, but please don’t forget to credit the original author, here: Jean-Pierre LESUEUR.
Implemented By Technique
Featured Windows API
Created
April 24, 2025
Last Revised
April 24, 2025