|
|

楼主 |
发表于 2012-9-11 09:19:36
|
显示全部楼层
来自: 中国福建莆田
窗口前置代码如下:3 q) ~, M$ z4 E3 ?
模块代码:% b0 X5 @/ k; b) R1 H* t
Option Explicit3 X$ w. o" Q- x! N' \
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)
( B, s% \2 U3 C* c* [- M7 d( }* |# @/ g* M: G; p# |
窗体代码:load事件下:- o$ P5 N" S. G4 {% R
Private Sub form_load()
3 X2 m! [8 g$ o4 L( ~! E* \0 O: qDim a As String! t7 i, C6 i2 p. z
a = SetWindowPos(hwnd, -1, 0, 0, 0, 0, 3)
# H" m- Y# J3 `0 h9 Y0 Z$ i- c# \End Sub |
|