OnMouseDown position matches not the control geometrie

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

Andreas Weichert
Posts: 57
Joined: Fri Apr 05, 2013 4:51 am
Contact:

OnMouseDown position matches not the control geometrie

Post by Andreas Weichert »

If I make a panel with f.e. Panel.Common.Width=100 and I click near the right edge of the panel I get not the position 100.
In my case it is smaller near 80. But I need the exact position.
The reason is, I think, the custom size scaling of the GUI (skins etc.). If found a scaling factor so that it works for the current skin.

Because I want to make a genearal plugin that work ever (for others user) I need this factor.

Can I get this factor from a SDB object ?
My Scripts
Take a look on my Android app Time Sheriff – the extensive all-in-one timer/reminder.