Carbons EnableFullScreenButton(WindowID(#window)) in Cocoa?

Mac OSX specific forum
User avatar
glomph
User
User
Posts: 48
Joined: Tue Apr 27, 2010 1:43 am
Location: St. Elsewhere / Germany
Contact:

Carbons EnableFullScreenButton(WindowID(#window)) in Cocoa?

Post by glomph »

Hallo,
how to get

Code: Select all

EnableFullScreenButton(WindowID(#window)) 


in Cocoa?
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: Carbons EnableFullScreenButton(WindowID(#window)) in Coc

Post by J. Baker »

www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
User avatar
glomph
User
User
Posts: 48
Joined: Tue Apr 27, 2010 1:43 am
Location: St. Elsewhere / Germany
Contact:

Re: Carbons EnableFullScreenButton(WindowID(#window)) in Coc

Post by glomph »

Works.
Thought that wilberts lib is in 5.10 not necessary.
Thanks
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3944
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Carbons EnableFullScreenButton(WindowID(#window)) in Coc

Post by wilbert »

The lib Joe is referring to is an additional lib; it doesn't include the CocoaMessage command introduced in PB 5.10.
But it is easy to accomplish the same with the CocoaMessage command without the need of an additional lib.
http://www.purebasic.fr/english/viewtop ... 92#p391292
Windows (x64)
Raspberry Pi OS (Arm64)
User avatar
glomph
User
User
Posts: 48
Joined: Tue Apr 27, 2010 1:43 am
Location: St. Elsewhere / Germany
Contact:

Re: Carbons EnableFullScreenButton(WindowID(#window)) in Coc

Post by glomph »

That's what I'm looking for.
Thanks Wilbert
:D
Post Reply