Hi, I want to get the main ribbon window's correct top/left location when it is maximized.
I set some pop-up dialogs' locations based on the main ribbon window's top/left location, and it works fine when it is in the restored state.
When I maximized it, however, the previous location before maximization seems to be used.
I could just use (0, 0) location for a single monitor maybe, but how can I get the right location for dual monitors?
I set some pop-up dialogs' locations based on the main ribbon window's top/left location, and it works fine when it is in the restored state.
When I maximized it, however, the previous location before maximization seems to be used.
I could just use (0, 0) location for a single monitor maybe, but how can I get the right location for dual monitors?