The IViewportButton class represents buttons displayed in the viewport. They allow the user to perform actions associated with the buttons via mouse input.
The IViewportButton class is the base class for all types of viewport buttons. Concrete types of viewport buttons need to be registered with an IViewportButtonManager instance which routes mouse input to the viewport button instances.
The ViewportTextButton class provides a text-based viewport button implementation.
For more information see maxsdk\include\IViewportButton.h.