主题:列出所有当前进程
* 列出所有当前进程
*-----------------------------------------
Clea
#Define GW_HWNDNEXT 2
Declare INTEGER GetActiveWindow IN "user32"
Declare INTEGER GetWindow IN "user32" INTEGER hwnd, INTEGER wFlag
Declare INTEGER GetWindowText IN "user32" INTEGER hand, STRING @ctitle, INTEGER ntitle
**
[color=FF0000]hCurrent = GetActiveWindow () && 从当前活动窗口开始[/color]
[color=0000FF]&&怎么样能不从当前活动窗口开始吗,因为VFP在失去焦点后找不到‘当前活动的窗口’。请教高手怎么解决这一问题:在线等呀[/color]
*-----------------------------------------
Clea
#Define GW_HWNDNEXT 2
Declare INTEGER GetActiveWindow IN "user32"
Declare INTEGER GetWindow IN "user32" INTEGER hwnd, INTEGER wFlag
Declare INTEGER GetWindowText IN "user32" INTEGER hand, STRING @ctitle, INTEGER ntitle
**
[color=FF0000]hCurrent = GetActiveWindow () && 从当前活动窗口开始[/color]
[color=0000FF]&&怎么样能不从当前活动窗口开始吗,因为VFP在失去焦点后找不到‘当前活动的窗口’。请教高手怎么解决这一问题:在线等呀[/color]