With Qt 5.6.2, i used nativeEvent() to capture Windows minimize command. I casted the void* message into a MSG* and could read it properly
Now, with Qt 5.11.1, this did not detect the messages anymore. Debugging, i noticed that at the call of QWindowSystemInterface::handleNativeEvent() by filterNativeEvent(), the MSG* is not casted as void*, but we pass the address of the MSG* in the void* argument. So now, in nativeEvent(), to properly decode the message, i have to cast the void* to LPMSG, then dereference it to get the original MSG* Was that change intentionnal? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest