Editor toolbar extension

Anyone know where to find c++ editor module examples of extending the editor menu toolbar with a combo box that works with 5.7? All the examples I’ve found so far show different methods and all of them have issues for me in 5.7 like invalid function calls, incorrect argument types and unresolved symbols.

Thanks!