摘要: [转]http://hi.baidu.com/neil_danky/item/f9dca0ca36a79811515058d3方法一:使用定时器,然后在定时器响应函数中定时调用,SetWindowPos()函数,第一个参数写HWND_TOPMOST方法二:因为2000/XP改变了SetForegroundWindow的执行方式,不允许随便把窗口提前,打扰用户的工作。可以用附加本线程到最前面窗口的线程,从而欺骗windows。AttachThreadInput(GetWindowThreadProcessId(::GetForegroundWindow(),NULL), GetCurrentTh 阅读全文
posted @ 2012-09-12 15:59 疯狂の小石子 阅读(6209) 评论(0) 推荐(0) 编辑