|
|
发表于 2010-2-6 10:06:01
|
显示全部楼层
来自: 中国广东广州
窗体代码中申明* v/ C" y+ Q9 M
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 Long3 w5 d$ Y- Y+ m$ G/ [
& i6 E( F' c* U8 y( z- Y; ?Private Sub Form_Load(). v7 H6 G3 F& G1 p; @# ^9 I, v
'最小化" l9 P0 ^( |4 a+ v9 j. f$ p2 F# M
SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 09 E, f; K3 k9 U, r) ?2 [1 w. L; b
'窗体至顶& d* I; i, J% O) J. ]
SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 3
# s& ~6 z, z- ?- B* DEnd Sub |
评分
-
查看全部评分
|