In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

IsMinimized()?

Foro público de Xailer en español
Responder
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

IsMinimized()?

Mensaje por Ingo »

Hi,
is there a method or function in Xailer to find out if the formstate is
minimized, maximized or normal?
Thanks in advance
Ingo
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

IsMinimized()?

Mensaje por jfgimenez »

Ingo,
> is there a method or function in Xailer to find out if the formstate is
> minimized, maximized or normal?
I just added 2 functions (wrappers) some days ago, and will be available in
the next release. Meanwhile, you may add they somewhere in your project:
//---------------------------------------------------------- -------------------
XA_FUNC( ISZOOMED )
{
hb_retl( (long) IsZoomed( (HWND) hb_parnl( 1 ) ) );
}
//---------------------------------------------------------- -------------------
XA_FUNC( ISICONIC )
{
hb_retl( (long) IsIconic( (HWND) hb_parnl( 1 ) ) );
}
//---------------------------------------------------------- -------------------
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

IsMinimized()?

Mensaje por Ingo »

Jose,
fine, gracias:
Ingo
"Jose F. Gimenez" <jfgimenez@wanadoo.es> schrieb im Newsbeitrag
news:[email=43eb3de8@ozsrvnegro.ozlan.local...]43eb3de8@ozsrvnegro.ozlan.local...[/email]
> Ingo,
>
>> is there a method or function in Xailer to find out if the formstate is
>> minimized, maximized or normal?
>
> I just added 2 functions (wrappers) some days ago, and will be available
> in the next release. Meanwhile, you may add they somewhere in your
> project:
>
> //---------------------------------------------------------- -------------------
>
> XA_FUNC( ISZOOMED )
> {
> hb_retl( (long) IsZoomed( (HWND) hb_parnl( 1 ) ) );
> }
>
> //---------------------------------------------------------- -------------------
>
> XA_FUNC( ISICONIC )
> {
> hb_retl( (long) IsIconic( (HWND) hb_parnl( 1 ) ) );
> }
>
> //---------------------------------------------------------- -------------------
>
>
> --
> Regards,
>
> Jose F. Gimenez
>
Responder