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:
01055086
Vues:
19
>Do you also have the function definitions for these 2 functions?
>
>Thabks
>
DECLARE LONG	SetWindowLong	             IN user32.dll	LONG ,INTEGER , LONG
DECLARE SHORT	SetLayeredWindowAttributes   IN user32.dll	LONG, INTEGER , INTEGER , INTEGER
>
>>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform