|
|

楼主 |
发表于 2012-9-11 09:19:36
|
显示全部楼层
来自: 中国福建莆田
窗口前置代码如下:5 |3 H1 i' c/ M) c! Q8 r: f
模块代码:
( c5 y" z/ v4 [Option Explicit
( Y. `7 ?0 G" f- S8 I B0 [1 CDeclare 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). s$ Q L- a& y5 L0 K: g0 Q) y9 p, W
9 S7 N4 H2 Q Z8 r3 P" I/ q
窗体代码:load事件下:6 Y, P3 A+ z9 s. o* y% r" s& \
Private Sub form_load()4 _ V! H" V( }/ A# R
Dim a As String
( x$ V, `+ ~/ U& `& |. ga = SetWindowPos(hwnd, -1, 0, 0, 0, 0, 3)7 B' E! t7 |' x, k+ k0 I$ s
End Sub |
|