-
nativeEvent函数捕获不到WM_NCHITTEST消息
bool CWidget::nativeEvent(const QByteArray &eventType, void *message, long *result)
{qDebug()<<"eventType"<<eventType; if (eventType == "windows_generic_MSG") { MSG *param = static_cast<MSG *>(message); qDebug()<<"message"<<param->message; qDebug()<<"messageLow"<<LOWORD (param->message); qDebug()<<"messageHi"<<HIWORD (param->message); switch (param->message) { qDebug()<<"message in"<<param->message; case WM_NCHITTEST: { }
}
-
C Christian Ehrlicher moved this topic from General and Desktop on