Topic: Alignment of windows on guides
All greetings. There is a task of alignment of all windows on guides, such "adhering" windows. With the windows of problems is not present: I re-record a position in event WM_WINDOWPOSCHANGING. Problems arise with windows of other processes. Tried to use . Under the description should approach WH_GETMESSAGE, but the events connected to relocation of a window or change of its sizes, in it are not caught, i.e. they are not present generally. WH_CBT not absolutely approaches, there events come after fulfillment of all actions. Actually, it is not clear, why messages WM_WINDOWPOSCHANGING, etc. in WH_GETMESSAGE do not come. And, whether in the correct direction I go? Can such tasks dare substitution of window functions or something another, and I here with normal dig. Though substitution, in my opinion, it somehow too, smells slightly of hacking and black magic. The project on.NET, dll on a C ++. UPD. For certain, similar subjects were already considered, I will be glad to links to similar subjects.