|
|
发表于 2010-2-6 10:06:01
|
显示全部楼层
来自: 中国广东广州
窗体代码中申明
& y6 h% C- @" E! C B! ?9 @Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
) b; }3 X+ \- R( f5 g& z4 \1 o9 u* q" y% p0 y
Private Sub Form_Load()
* v" r: v9 m `; f+ V" y'最小化
# C# j% p4 h1 S. D& f3 bSetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 0 y9 H; P8 E3 f% L8 v
'窗体至顶
1 O6 J) B7 n. ?! ]/ lSetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 3/ F' E8 q$ R8 S% G; u
End Sub |
评分
-
查看全部评分
|