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
BR,
Petr
--
View this message in context:
http://www.nabble.com/2008-11-05-03%3A01-UTC%2B0100-Przemyslaw-Czerpak-%28druzus-at-priv.onet.pl%29-tp20335131p20427623.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour