How to change the outlining frame for the current cell?

You can call

CGXProperties* pProp = GetParam()->GetProperties();
   pProp->SetUserProperty(GX_IDS_OUTLINECURRENTCELL,
      CGXStyle().SetValue(newsetting));

Whereas newsetting can be one of

  • pProp->sInvertNormal – default: invert frame

  • pProp->sInvertThick – invert thick frame

  • pProp->sInvertDrawBorder – draw border (always black)

  • pProp->sInvertThickBorder – draw thick border (always black)

  • pProp->sInvertNoBorder – No border – disable the frame around the current cell

There are also possibilities to change the appearance (e.g. background color) for the current cell. This is discussed in FAQ "Is there a virtual that I can override to change the appearance of the current cell?”.