How to change the color of a Hotspot in Reflection Desktop

  • 7023002
  • 22-May-2018
  • 03-Jul-2018


Reflection Desktop (including Pro, for UNIX and OpenVMS) 16.0 or higher
Reflection 2014
Reflection Pro 2014
Reflection for UNIX and OpenVMS 2014
Reflection for UNIX and OpenVMS 2011
Reflection Standard Suite 2011


This article describes how to change the color of a Hotspot in a Reflection Desktop VT session.


Upgrade to Reflection Desktop 16.0 SP1 HF7 or higher (16.0.356)

The updated release of Reflection Desktop adds support for setting the cursor and Hotspot colors in a VT session via Manage Theme | Text Color Mapping.  Reflection Desktop will by default map everything to the defined theme colors.  VBA and .NET support in the API was added to allow the modification of cursor and Hotspot colors.

A HotFix (HF) for Reflection Desktop is a cumulatively built product update, intended for limited distribution, which addresses specific customer issues and enhancement requests; outside the regular Development release cycle. It is only available to Micro Focus customers with current software support and maintenance contracts, and only after contacting Micro Focus Customer Support directly.  A HotFix undergoes limited stability and quality testing and is intended for quick release to address specific product issues and should not be deployed to production environments without thorough testing.  It is recommended to upgrade to a full-release or a Service Pack version of Reflection Desktop when it becomes available.


Changing the color of a Hotspot can be done via the legacy-VBA API call to Session.SetColorMap.
A call to "Session.SetColorMap rcHotspotAttribute, rcWhite, rcGreen" would change the Hotspot color to White on Green.