SmartCode ViewerX

ISmartCodeVNCViewer::SwapMouseButtons Property

Sets or retrieves the value indicating whether mouse buttons swapping is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_SwapMouseButtons(VARIANT_BOOL* pbSwap);
HRESULT ISmartCodeVNCViewer::put_SwapMouseButtons(VARIANT_BOOL bSwap);

Parameters

pbSwap
Pointer to a variable of type VARIANT_BOOL that receives mouse button swapping status.
bSwap
VARIANT_BOOL that enables or disables mouse button swapping.

Return Value

Returns S_OK if successful, or an error value otherwise.