fullscreen en lion

Post Reply
User avatar
mastintin
Posts: 1502
Joined: Thu May 27, 2010 2:06 pm

fullscreen en lion

Post by mastintin »

Fivemac con fullscreen en lion :

Image


en window.m añadir :

HB_FUNC( WNDFULL )
{
NSWindow * window = ( NSWindow * ) hb_parnl( 1 );
[window setCollectionBehavior:
NSWindowCollectionBehaviorFullScreenPrimary];

}

en window.prg añadir :

METHOD full() INLINE Wndfull( ::hWnd )


en el programa a usar :

DEFINE WINDOW oWnd TITLE "Tutor02" ;
FROM 400, 400 TO 560, 810

ownd:full()


Saludos.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: fullscreen en lion

Post by Antonio Linares »

Manuel,

Has tenido que modificar algo ? Es un comportamiento estandard ? gracias :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mastintin
Posts: 1502
Joined: Thu May 27, 2010 2:06 pm

Re: fullscreen en lion

Post by mastintin »

Antonio Linares wrote:Manuel,

Has tenido que modificar algo ? Es un comportamiento estandard ? gracias :-)
Standard no he cambia do nada .
Saludos.
Post Reply