Is the cursor of type "masked color" used anymore?

421 Views Asked by At

I'm developing a screen capture tool and managed to make it work, even with mouse cursor support.

The problem is, there's a type of mouse cursor called DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR. I was not able to find any cursor of this type, so I cannot test it.

This made me think, is that kind of cursor even used anymore (supported by Windows 8 and newer)? Can you show me any example of a cursor like that?

2

There are 2 best solutions below

1
On BEST ANSWER

There are several scenarios where it is used:

  1. The Hand/Grab cursor (see grab/grabbing here)
  2. The I beam when running at >= 150% UI scale

There are possibly more but these are two examples that still exist and are present in Windows 10

Also any software defined cursors could use it if an application sets one.

4
On

I have been dealing with this myself. This pointer seems to pop up more in HDR and 10bit color depth monitors. Other than that, I have no idea.