void QApplication::alert(QWidget * widget, int msec = 0)如果窗口不是活动窗口,则会向窗口显示一个警告。警报会显示msec 毫秒。如果毫秒为零,闪烁一段时间后会停止,任务栏图标会一直亮着。widget.h #ifndef WIDGET_H #de Read More
posted @ 2016-10-27 20:37 findumars Views(844) Comments(0) Diggs(0)
wchar_t * sourcepath=new wchar_t[MAX_PATH];int s1=str.toWCharArray(sourcepath); sourcepath[s1]=0; Read More
posted @ 2016-10-27 20:36 findumars Views(1078) Comments(0) Diggs(0)
https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx Read More
posted @ 2016-10-27 20:14 findumars Views(541) Comments(0) Diggs(0)
1.设置Windows最低版本要求 [Setup]: MinVersion 格式: a.bb,c.dd,这里 a.bb 是 Windows 版本,c.dd 是 Windows NT 版本。 默认值: 4.0,4.0 描述:这个指令让你指定你的软件运行必须的 Windows 或 Windows NT Read More
posted @ 2016-10-27 18:05 findumars Views(1838) Comments(0) Diggs(0)
在多线程下面,有时候会希望等待某一线程完成了再继续做其他事情,要实现这个目的,可以使用Windows API函数WaitForSingleObject,或者WaitForMultipleObjects。这两个函数都会等待Object被标为有信号(signaled)时才返回的。那么,什么是信号呢?简单 Read More
posted @ 2016-10-27 16:27 findumars Views(2339) Comments(0) Diggs(0)