How can I pined a window to the desktop ? (Can't minimize the window, the window must be always visible on the desktop, minimize all window can't minimize my window)
I already test this way : Put the desktop as the parent of my window
but it don't work correctly
Code: Select all
If OpenLibrary(0, "User32.dll")
Bureau = CallFunction(0, "GetShellWindow")
CloseLibrary(0)
EndIf
OpenWindow(0, 0, 0, 100, 100, #PB_Window_BorderLess | #PB_Window_ScreenCentered, "Pin to desktop", Bureau)
CreateGadgetList(WindowID())
ButtonGadget(0, 0, 0, 100, 100, "Close")
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_Gadget
Select EventGadgetID()
Case 0
Event = #PB_EventCloseWindow
EndSelect
EndIf
Until Event = #PB_EventCloseWindow
