Página 1 de 1

IsMinimized()?

Publicado: Jue Feb 09, 2006 1:55 pm
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

IsMinimized()?

Publicado: Jue Feb 09, 2006 2:04 pm
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

IsMinimized()?

Publicado: Jue Feb 09, 2006 5:03 pm
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
>