1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
|
#define alpha 180 #define WS_EX_LAYERED 0x80000
#define LWA_ALPHA 0x2
#include "llmod3/llmod3.hsp"
gosub *window_set
stop
*window_set
gosub *setwndlong_set
_return = hwnd,0,alpha,LWA_ALPHA dllproc "SetLayeredWindowAttributes",_return,4,D_USER
return
*setwndlong_set
_return = hwnd,-20,WS_EX_LAYERED
setwndlong _return
return
|