On Mon, 10 Nov 2008, Petr Chornyj wrote:

Hi Peter,

> Przemyslaw Czerpak-2 wrote:
> > 2008-11-05 03:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> > ..
> >   * harbour/contrib/gtwvg/gtwvg.c
> >     * cover LWA_ALPHA usage by #if ( _WIN32_WINNT >= 0x0500 )
> >       to keep at least compile time compatibility with older systems
> I think is it should be as
> #if ( _WIN32_WINNT >= 0x0500 )
>                      SetWindowLong( pWVT->hWnd,
>                                     GWL_EXSTYLE,
>                                     GetWindowLong( pWVT->hWnd, GWL_EXSTYLE ) 
> | WS_EX_LAYERED );
> 
>                      pWVT->pfnLayered( pWVT->hWnd,
>                                        RGB( 255,255,255 ),
>                                        hb_itemGetNI( pInfo->pNewVal2 ),
>                                        /*LWA_COLORKEY|*/ LWA_ALPHA );
> #endif
> because we can see in winuser.h 
> 
> #if(_WIN32_WINNT >= 0x0500)
> #define WS_EX_LAYERED           0x00080000
> #ifdef

Probably yes but I'm leaving such modifications to authors.
I made the above only to fix compilation process in some C
compilers not to change/fix GTWVG. I do not even know if older
windows versions are supported by this GT.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to