Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 326

MouseActionCursor

$
0
0
Is there any way to "force" a meter with mouse scroll actions to use a built-in Windows cursor, cause this doesn't seem to cut it (mouse hover used below):

Code:

[Image]Meter=ImageW=100H=100SolidColor=255,0,0,255MouseOverAction=[!SetOption Image SolidColor "0,255,0,255"][!UpdateMeter Image][!Redraw]MouseLeaveAction=[!SetOption Image SolidColor "255,0,0,255"][!UpdateMeter Image][!Redraw]MouseActionCursor=1MouseActionCursorName=HANDDynamicVariables=1
I could do it by adding a LeftMouseUpAction=[] instead, but that would only use the "HAND" cursor, while I need some arrow like cursor to indicate scrolling.

Also, I always found some parts of the documentation for the mouse cursor options quite confusing, e.g.:
When set to 1 (default) on a meter with a mouse action, a "pointer" cursor will be shown when hovering the mouse over the meter.
Except that it's only for mouse click actions, not any mouse action.

So basically, in my skin I'd like the meters corresponding to values that can be changed (as opposed to their labels) to have cursors indicating the type of mouse action needed to change the said value displayed by the meter (e.g. some arrows for scrolling, the hand for left click, maybe the pen for middle click, etc).

EDIT: My bad, the LeftMouseUpAction=[] "workaround" actually uses the cursor defined in the MouseActionCursorName, so one way to do it is available. How about the "normal" way above though?

Statistics: Posted by Yincognito — Yesterday, 6:59 pm — Replies 2 — Views 35



Viewing all articles
Browse latest Browse all 326

Trending Articles