Keep mouse pressing anywhere, the program just shutdown, Qt Project in WinCE6.0
-
Hi guys,
A problem happened when I tried to make my Qt program frameless under WinCE6.0 environment.
Here's the situation:
I set the window flag to Qt::Popup with@setWindowFlags(Qt::Popup)@
and run in WinCE6.0. Whenever I press my mouse for like 1 or 2 seconds, the program directly shutdown (or what? It just disappeared and cannot run again by double clicking the .exe, I have to restart my CE system in order to run the program again. But in Win 7, the program won't shutdown.)
Afterwards, I tried to set window flag to Qt::FramelessWindowHint, it worked without shutting down when I kept pressing down my mouse.
Can anybody tell me the reason why this happened ? Thanks very much !