ZD Screen Recorder SDK API – ScnLib_SetCursorEffectsColors()

ScnLib_SetCursorEffectsColors()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetCursorEffectsColors(COLORREF crHighlight, COLORREF crLeftClick, COLORREF crRightClick, COLORREF crTrack);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetCursorEffectsColors(uint HighlightColor, uint LeftClickColor, uint RightClickColor, uint TrackColor);
Basic Public Declare Sub ScnLib_SetCursorEffectsColors Lib "ScnLib.dll" (ByVal HighlightColor As UInt32, ByVal LeftClickColor As UInt32, ByVal RightClickColor As UInt32, ByVal TrackColor As UInt32)
Delphi procedure ScnLib_SetCursorEffectsColors(HighlightColor: LongWord; LeftClickColor: LongWord; RightClickColor: LongWord; TrackColor: LongWord); stdcall; external 'ScnLib.dll';
  • Description
    Configure the colors of mouse cursor effects.

  • Parameters
    • HighlightColor [in]
      The cursor highlight circle color, expressed in the COLORREF format.
    • LeftClickColor [in]
      The left button click circle color, expressed in the COLORREF format.
    • RightClickColor [in]
      The right button click circle color, expressed in the COLORREF format.
    • TrackColor [in]
      The cursor track line color, expressed in the COLORREF format.
  • Return Value
    None.

  • Remarks
    Use this function to configure the colors of mouse cursor effects. The default colors for the mouse cursor effects are as follows: a green circle for cursor highlight, a red circle for left button click, a blue circle for right button click, and a red line for the cursor track effect. This feature enables you to personalize cursor effects to suit your video’s theme or for clearer visibility. You can use this function during the recording process. To check the current settings for mouse cursor effects colors, call ScnLib_GetCursorEffectsColors().

  • See Also
    ScnLib_AddCursorEffects()
    ScnLib_GetCursorEffectsColors()
    ScnLib_SetCursorEffectsImagesA/W()

Shopping Cart
  • Your cart is empty.
Scroll to Top