Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent Form
Message
From
30/09/2005 16:58:49
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01055067
Message ID:
01055086
Views:
15
>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
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform