I find that the declaration of TControlBar::AddButton() can be like “void TControlBar::AddButton ( const char* label, const char* action, const char* hint = “”, const char* type = “button”)”
I wonder what are the other options of the argument “type”. I have no idea where to find such information.
I am to write a GUI so that I can input a number as an argument for another macro and then click a button to run that macro. But I don’t know how to change the plain button into a textbox so that I can set the number. Can I use TControlBar::AddButton() to make it?