Page 1 of 1

#PB_Window_SystemMenu

Posted: Thu Nov 20, 2025 8:21 pm
by Piero

Code: Select all

#PB_Window_SystemMenu: Enables the system menu on the window title bar (default).
???
Can we safely remove it, at least from our (basic) Forum examples?

I'm mostly asking to Linux ppl

Re: #PB_Window_SystemMenu

Posted: Thu Nov 20, 2025 8:56 pm
by Piero
The "explanation" makes me remember of this Mac thing:

Code: Select all

OpenWindow(0, 0, 0, 230, 170, "")
Filename$ = #PB_Compiler_Home + "Install.Txt"
CocoaMessage(0, WindowID(0), "setTitleWithRepresentedFilename:$", @Filename$)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
You can ⌘-Click the window title to open enclosing folder(s)…