Judian81 wrote: ↑July 27th, 2021, 6:46 am
when i make a windows forms application. i can place buttons, textboxes and picturebox.
every control has its own handle.
Code: Select all
Ok, but the question remains: what would you need those handles for? I mean ... what can't be achieved through Rainmeter and absolutely needs a handle to achieve a certain functionality? In other words, what are you actually trying to achieve? Maybe a simpler solution exists...
EDIT: If by any chance your goal is related to what you mentioned here
, maybe this
(it has 2 approaches, eclectic-tech's one which is complete but the player window is separated from the skin, and mine which is massively incomplete and probably buggy due to that but the player "window" - well, more like its image - actually belongs to the skin) could help. Other than that, if you wonder how can you capture when a skin is moving to another place, don't - just follow it wherever it is moving, as that's largely achievable (assuming a lower update rate) from another skin, see the preview for a somewhat similar goal here
EDIT2: Actually, you can capture when a skin is moving to another place as well, from another skin, using a similar approach to the one used when following it. It's more or less about passing the moving skin's positional data
to the "observer skin" and optionally compare the current data with the previous one to detect movement.