If you want to take advantage of the enhanced Alter Buttonpad statement of MapInfo Pro 17.0.1, have a look at this small post discussing how to use it to modify an old application so that it can add controls to the ribbon interface of MapInfo Pro 17.0.1.
The post can be found here under the MapBasic topic:
The following link is no longer available. To access this information, copy the title found in the url into the search tool on the top nav bar, or try searching for key words in the post. https://li360.pitneybowes.com/s/question/0D51E00004bGWjcSAG/adding-control-to-the-ribbon-using-the-altercreate-buttonpad-statements