I would go on with hooking. There is an article
here that may help you to intercept mouse messages in the parent window (I haven't tried it), but even if its working I think that the hooking is the cleaner (and 100% working) solution, and maybe the only one. Unfortunately there are a lot of scenarios in GUI programming when the only solution is hooking. It isn't that dirty solution as it seems to be for the first time, just hide the above window creation call and the hooking to a class and don't think of it again! :laugh: