|
|

楼主 |
发表于 2012-9-11 09:19:36
|
显示全部楼层
来自: 中国福建莆田
窗口前置代码如下:
1 R& X& \6 f7 M/ a1 S$ L模块代码:
0 h0 c& s9 d* C6 y* s2 U9 W: O* C5 c- sOption Explicit8 A8 s3 R% w" _, W4 B8 x5 [) k
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)
8 }: V0 ]* {. D5 g2 }: {8 z# |
! f$ c7 D4 E# |$ O1 u5 c窗体代码:load事件下:
1 B7 ?7 s- R1 } f! `8 QPrivate Sub form_load(), E) n% J7 F' C) G: @$ z
Dim a As String5 B v1 s! d1 z3 L# X
a = SetWindowPos(hwnd, -1, 0, 0, 0, 0, 3)7 G; I3 V' A! ~
End Sub |
|