Real'sHowTo AddThis Feed Button
Custom Search

Hide a program from the Windows task barTag(s): WinAPI/Registry


You can set the visible property of a window to false
w_window.visble = false
but the window is not visible anymore.

To keep the window visible but not in the task bar, define the external function

FUNCTION ulong SetWindowLongA( ulong hWnd, int nIndex, long newValue ) &
LIBRARY "USER32.DLL"
and then in the window open event
long ll_rc

ll_rc = SetWindowLongA(Handle(This), -20, 128)
IF ll_rc = 0 THEN
   // something wrong on the kingdom!
END IF

blog comments powered by Disqus


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2013
[ home ]