Qt里,windows下获取窗口句柄的方法 发表评论 Qt里,windows下获取窗口句柄的方法: 在windows下,QWidget类的WId winId () const 成员函数返回的就是窗口句柄.