level 4
像QQ主界面那种前置,百度一下,用到API。先在窗口模块代码前头声明API:Private 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
然后在按键单击过程使用,或者窗口加载过程使用:
setwindowpos me.hwnd, -1, 0, 0, 0, 0, 2 or 1
2023年06月08日 11点06分




