Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01055067
Message ID:
01055080
Vues:
20
>Do you have the values for the constants?
>
>Thank you
>
>
>>>Can someone point me to the API code for a transparent form?
>>>
>>>Thanks
>>
>>
>>
>>#DEFINE ALPHA_LEVEL 200
>>=SetWindowLong(m.this.hWnd, GWL_EXSTYLE, WS_EX_LAYERED);
>>,SetLayeredWindowAttributes(m.this.hWnd, 0, ALPHA_LEVEL, LWA_ALPHA)
>>
*- GetWindowLong
#DEFINE	GWL_WNDPROC		-4
#DEFINE	GWL_HINSTANCE		-6
#DEFINE	GWL_HWNDPARENT		-8
#DEFINE	GWL_STYLE		-16
#DEFINE	GWL_EXSTYLE		-20
#DEFINE	GWL_USERDATA		-21
#DEFINE	GWL_ID			-12

*- Styles
#DEFINE WS_EX_TOPMOST		0x00008
#DEFINE	WS_EX_TRANSPARENT	0x00020
#DEFINE	WS_EX_LAYERED		0x80000
#DEFINE	LWA_COLORKEY 		1
#DEFINE	LWA_ALPHA		2
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform