I'm creating a window with the WS_EX_TOOLWINDOW flag. Here is the code
Code: Select all
OpenWindow(0,0,0,320,240,"Window",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_ScreenCentered)
HideWindow(0,1)
SetWindowLong_(WindowID(0),#GWL_EXSTYLE,GetWindowLong_(WindowID(0),#GWL_EXSTYLE) | #WS_EX_TOOLWINDOW)
HideWindow(0,0)
If CreateGadgetList(WindowID(0))
ButtonGadget(1, 60, 60, 60, 20, "blub")
EndIf
Repeat
WaitWindowEvent()
Delay(20)
ForEver
How do I fix it, all I wanted to do was to remove the app from the taskbar
