홈 · 개발 참고자료

개발 참고자료

[파워빌더] Hide a program from the Windows task bar

작성자
관리자
작성일
2016-10-16
조회
10577
분류
파워빌더
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