本帖最后由 missonce 于 2013-02-05 09:51:57 编辑

解决方案 »

  1.   

    setparent
    . If this parameter is NULL, the desktop window becomes the new parent window. 
      

  2.   

    SetParent does not modify the WS_CHILD or WS_POPUP window styles of the window whose parent is being changed. Therefore, if hWndNewParent is NULL, you should also clear the WS_CHILD bit and set the WS_POPUP style after calling SetParent
      

  3.   

    使用setparent
    然后把窗口属性改成popup!