[파워빌더] Hide a program from the Windows task bar
You can set the visible property of a window to falsew_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 eventlong ll_rc
ll_rc = SetWindowLongA(Handle(This), -20, 128)
IF ll_rc = 0 THEN
// something wrong on the kingdom!
END IF
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 eventlong ll_rc
ll_rc = SetWindowLongA(Handle(This), -20, 128)
IF ll_rc = 0 THEN
// something wrong on the kingdom!
END IF