Ove Kaaven ovehk@ping.uio.no writes:
I did consider that, but who's going to intercept and handle that message? It's not an operation that is or should be known outside of the x11drv, so sending the window a custom message will either conflict with some other message, or get the message ignored (I doubt DefWindowProc passes custom messages back to x11drv or anything). Or did you have any particular ideas in this area?
You can set a new window procedure to intercept the message, and pass all other messages straight through to the original window procedure.