TimTree / wheel-of-fortune-ppt

Create and host your own Wheel of Fortune games with PowerPoint
5 stars 2 forks source link

Cursor disappears when running in windowed mode #1

Closed TimTree closed 3 years ago

TimTree commented 3 years ago

When using Wheel of Fortune for PowerPoint on windowed mode, it's annoying when the cursor disappears after a few seconds, and you need to shake the mouse to get the cursor back.

The fix is to right click the presentation and to select the Arrow pointer option, like so.

WoFPersistentCursor

However, this setting is NOT permanent; the pointer option reverts to Automatic when exiting the slide show.

It is possible to programmatically set the pointer type with the following VBA:

ActivePresentation.SlideShowSettings.Run.View.PointerType = ppSlideShowPointerArrow

Problem is, I don't know an effective way to run this whenever the slide show starts, and only once for performance reasons. The subroutine OnSlideShowPageChange could work, but I had to remove that subroutine in version 5.0 because it caused unknown issues with the limitless puzzles feature.

I could also apply the pointer type VBA to all the buttons on the title slide, but that could lead to an inconsistent experience. Users who occasionally start the slide show from the puzzle board would get confused why the cursor behavior differs sometimes.

So either I figure out how to use OnSlideShowPageChange without breaking limitless puzzles if possible, or accept a slight compromise in consistency. I'm not entirely sure how to proceed, so I'll leave this issue on the backburner for now and link here for those who asks about the disappearing cursor.

TimTree commented 3 years ago

Decided to go with running ActivePresentation.SlideShowSettings.Run.View.PointerType = ppSlideShowPointerArrow when clicking on any menu button on the title slide. Change applied to version 6.0.