I want to write a program that will dock and or align (left,right,top,bottom) with another application. Much like the menus in Photoshop how they dock and align with each other. However, my application needs to do this with another running application not of my creation.
So the use case is as follows:
1- Program Is launched
2- Program Detects that 3rd party application is running
3- Based on the third party location on the screen my application will align itself to the left or right hand side of the 3rd party application
4- Based on user settings, this shouls work for top and bottom as well where my program aligns with the bottom or top of the 3rd party applications form.
This of this as making a docking toolbar for notepad. How would you make a bar doc with the window of notepad..?