CGDisplayShowCursor(_:)
Decrements the hide cursor count, and shows the mouse cursor if the count is 0.
Declaration
func CGDisplayShowCursor(_ display: CGDirectDisplayID) -> CGErrorParameters
- display:
This parameter has no effect. By default, you can pass
kCGDirectMainDisplay.
Return Value
A result code. To interpret the result code, see CGError.
Discussion
If the hide cursor count is 0, this function shows the cursor regardless of its current location. The display parameter has no effect. In most cases, the caller must be the foreground application to affect the cursor.
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()