Window objects are self-sufficient by default, and are independent of other windows in the application. Sometimes, however, it's useful to connect two (or more) windows in an owner-owned relationship. An owned window obeys the following rules:
In this recipe, we'll see how to create such ownership and show a typical use case.
Make sure Visual Studio is up and running.
We'll create a tool-like window that is owned by the main window, ...