When you add buttons using the button tool, you must change the text on the face and its control id. This is done with the button dialog. |
Once you have created your button in the workshop, you can add functions associated with the button using the class expert. The most often used button function is BN_CLICKED, although BN_DISABLED and BN_DOUBLECLICKED are also used. Here you see a function associated with a calculator button. In This case the variable _value is the text box in a calculator. |