哪里有,我的xp pro用得好好的
你看看是不是其他地方有什么不对的地方,或者你把代码贴出来

解决方案 »

  1.   

    本人就是用Win2k做开发环境.SetWindowPos用过无数回了..
    看看你的代码如何??
      

  2.   

    引用:
    Public Declare Function SetWindowPos Lib "user32" (ByVal H%, ByVal hb%, ByVal X%, ByVal Y%, ByVal cx%, ByVal cy%, ByVal F%) As Integer
    调用:
    SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS
      

  3.   

    Api定义错了.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
    第一个参数Hwnd是窗口名柄.是长整型的.%代表Integer.
    用Api浏览器吧.不要太相信自已.
      

  4.   

    %全部替换为&
    %:integer
    &:long
      

  5.   

    于吗这么麻烦啊,用api viewer里粘贴出来不就得了啊