And I thought I should just put the link here.
This is an article on a MapBasic library which makes it easier to implement a ribbon UI for your MapBasic application:
https://li360.pitneybowes.com/s/article/ka180000000DBOUAA4/Developer-Dojo-Using-a-MapBasic-library-to-integrate-tools-into-the-64-bit-MapInfo-Pro
And here is a video tutorial on this subject:
https://li360.pitneybowes.com/s/article/ka180000000DBLfAAO/Developer-Dojo-Video-Tutorial-Getting-started-with-the-RIBBONLib-MapBasic-library