excel的光标大小 [英] Cursor size for excel
问题描述
大家好,
因为我没有在论坛中获得解决方案
because I didnt get solution in forum
< a href ="https://social.technet.microsoft.com/Forums/office/en-US/997efa53-b988-4292-a82b-b3338d0e1cea/cursor-increase?forum=excel&prof=required"> https:// social .technet.microsoft.com /论坛/ office / en-US / 997efa53-b988-4292-a82b-b3338d0e1cea / cursor-increase?forum = excel& prof = required
最后一个提案要问这里。
the last proposal ws to ask here.
所以问题是:
如何在excel中增加游标大小?当鼠标在细胞上移动时,我需要更大的小十字和更多的对比色。其他选择例如沙漏,工字钢 等应该适用于更大的尺寸。 Windows
设置中鼠标指针的更改没有帮助。
How can I increase cursor size in excel? The small cross I need bigger and with more contrast color when the mouse is moved over cells. Other options e.g. hourglass, I-beam etc should work with the bigger size. The change of mouse pointer in windows setting doesnt help.
谢谢
推荐答案
在Win32中,更改光标的方法是替换它。
In Win32 the way you change the cursor is to replace it.
当鼠标进入窗口时,会向窗口发送WM_SETCURSOR消息。并在窗口的过程中调用 SetCursor来替换当前光标。您可以通过子类化窗口来连接窗口过程,如果您正在使用dll注入从另一个进程执行
代码。
When the mouse enters a window, a WM_SETCURSOR message is sent to the window. and you call SetCursor in the window's procedure to replace the current cursor. You can hook up a window procedure by subclassing the window, and if you are executing code from another process, with the help of dll injection.
Excel的问题是每个控件都有自己的窗口过程。您需要确定子类的正确控件。然后,每次Microsoft向Excel发布补丁时都必须进行兼容性测试,因为这取决于未记录的
行为。
Problem with Excel is that every control has its own window procedure. You need to identify the correct control to subclass. Then you have to do compatibility testing every time Microsoft releases a patch to Excel as you are depending on undocumented behavior.
这篇关于excel的光标大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!