Screen position in VST plugin


I’m trying to get the screen position in the demo plugin, I’ve tried:
getScreenBounds() / localAreaToGlobal() / getScreenPosition /…

But all it get is the relative position in the plugin itself.

How can I get the screen position?


Those methods should work just like in any other window… Which OS and host is it?

My bad, it does work.