C++
virtual BOOL OnKillActive();
Description
Called by the palette set when this palette is about to be deactivated. Override this function to inform the derived palette that it is being deactivated so that it can react accordingly. Returning false gives the palette the opportunity to avoid being deactivated.
Returns true to indicate that it is OK to deactivate the palette; returns false to indicate that it is not OK to deactivate it.