Hiding Application on Windows Taskbar Win32 API In PowerBuilder. With this simple tips you can hide the application on Windows Taskbar even if its running
External Function Prototypes Declaration
1 2 |
//External Function Prototypes Declaration Function Boolean SetWindowLongA (ULong hWnd, Int nIndex, Long newValue) Library "user32.dll" |
PowerScript Add below codes on Open event on main window
1 2 3 4 |
//[PowerScript] If Not SetWindowLongA(Handle(This), -20,128) Then MessageBox ('Error','Cannot Hide!') End If |
Good Luck!
Subscribe
Login
0 Comments
Oldest