Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当鼠标悬停在未展平的注释上时,其图标会从箭头变为手形图标。
由于我为鼠标使用自定义光标,我不希望这种情况发生。我相信提供此功能是为了让用户知道他/她可以将粘性注释添加到另一个注释。
有没有办法阻止这个功能?
PDFViewCtrl 类覆盖 OnCursorChanged 方法。您可以继承 PDFViewCtrl,而不是在此调用中调用基类。
例如,覆盖行为请查看 PDFViewTest 示例,特别是 MyPDFView.cs 文件中的 OnMouseDown 覆盖。这工作正常。