Page 1 of 1

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

Posted: Thu Feb 28, 2013 12:30 am
by glomph
Hallo,
how to get

Code: Select all

EnableFullScreenButton(WindowID(#window)) 


in Cocoa?

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

Posted: Thu Feb 28, 2013 12:58 am
by J. Baker

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

Posted: Thu Feb 28, 2013 1:52 am
by glomph
Works.
Thought that wilberts lib is in 5.10 not necessary.
Thanks

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

Posted: Thu Feb 28, 2013 5:56 am
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

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

Posted: Thu Feb 28, 2013 1:34 pm
by glomph
That's what I'm looking for.
Thanks Wilbert
:D