16,212
社区成员
发帖
与我相关
我的任务
分享
MyApplication::MyApplication(int argc, char *argv[]):QApplication(argc,argv)
{
}
bool MyApplication::winEventFilter(MSG *message, long *result)
{
switch(message->message)
{
case WM_SYSCOMMAND:
{
if(LOWORD(message->wParam)==SC_MOVE||
LOWORD(message->wParam)==0xF012)
{
return true;
}
}
default:
break;
}
return QApplication::winEventFilter(message,result);
}