Hi, Rainmeter Community
I got asked to make my app return a value if WindowMessaged by Rainmeter.
While I'd gladly implement that, I have no idea how. Do I have to override the WndProc()-method, and if so, how would I pass a value to Rainmeter only?
Thanks for any help in advance.
It is currently April 19th, 2024, 8:13 pm
Handling a WindowMessage and returning a value in C#
-
- Posts: 86
- Joined: August 7th, 2009, 11:23 pm
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Handling a WindowMessage and returning a value in C#
A better (and easier) approach would be to write to the registry from your app (and using Measure=Registry in Rainmeter to read the values).
-
- Posts: 86
- Joined: August 7th, 2009, 11:23 pm
Re: Handling a WindowMessage and returning a value in C#
Thanks, that worked.