Replies: 1 comment 2 replies
-
So using external cursor file fixed issue #635? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello.
Thanks as always for a great program.
As you know, in notepad2-mod, when you move the mouse cursor to a certain position, the left and right sides are reversed.
However, in current MS Windows, this feature does not work as expected when we adjust the DPI or increase the size of the mouse cursor.
I know @zufuliu has also given a lot of thought to this issue.
I created an additional mouse cursor file and included it in the resources of notepad2-mod to implement this feature.
It worked as expected, except for two programmatic issues.
ScintillaWin.cxx
resource.h
could not be read byScintillaWin.cxx
, so I had to enter the resource ID manuallyHere's what we did
It's pretty straightforward.
ReverseArrow.cur
,ReverseArrow_min.cur
in theres
folderNotepad2.rc
, give these files an ID calledIDC_REVERSEARROW
IDC_REVERSEARROW
in resource.h as104
DisplayCursor()
inScintillaWin.cxx
While this is neat, I don't think it's the right way to go.
Does anyone have any other ideas?
The cursor file can be downloaded from the link below.
ReverseArrow.zip
Beta Was this translation helpful? Give feedback.
All reactions