How to get option value or handle (for example m_ToolTipHandle) from meter using c++.
Can someone help me.
thank you
It is currently April 18th, 2024, 6:55 am
How get meter options, handle
-
- Posts: 2
- Joined: April 17th, 2020, 8:19 am
-
- Rainmeter Sage
- Posts: 16143
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: How get meter options, handle
Although once I've wrote a Rainmeter plugin, I'm not programming regularly, so probably I not am the best to give advices, but here is a good description on how to create Rainmeter plugins. There is a sample C++ code as well, which also can be used to figure out how to do different things. If no one has a better advice, maybe it worth take a look.
-
- Posts: 2
- Joined: April 17th, 2020, 8:19 am
Re: How get meter options, handle
thank you
I figured how to get meter values. I get them from config.
But cannot get handle (hwnd m_ToolTipHandle) to tooltips.
I figured how to get meter values. I get them from config.
But cannot get handle (hwnd m_ToolTipHandle) to tooltips.
-
- Rainmeter Sage
- Posts: 16143
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: How get meter options, handle
Sorry, someone else will have to help you here.
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: How get meter options, handle
Hi I don't think Rainmeter has API to get that handle.
But you can use winapi to get it.
https://github.com/ozone10/Rainmeter-DarkContextMenu/blob/master/Plugin/PluginDarkContextMenu.cpp
function "GetTooltips" should give you idea how to get it.
But you can use winapi to get it.
https://github.com/ozone10/Rainmeter-DarkContextMenu/blob/master/Plugin/PluginDarkContextMenu.cpp
function "GetTooltips" should give you idea how to get it.
-
- Rainmeter Sage
- Posts: 7120
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: How get meter options, handle
Also, maybe looking into Rainmeter's source code a bit will help. Try here, and search for (CTRL+F) m_ToolTipHandle. Not sure how much this will help, but, well, I've got nothing else, so...