Hello,
I would like to have buttons in a toolbar working like radio buttons, when one in the group is pressed, the others are released. I had success already in making them work like checkboxes (hold/release) using this:
tb.SetButtonStyle(0,TBBS_CHECKGROUP);
I have tried to make the radio button using ON_UPDATE_COMMAND_UI, but doesnt work.
Any body has a solution?
Thanks in advance.
PS: the toolbar is in a dialog box.
I would like to have buttons in a toolbar working like radio buttons, when one in the group is pressed, the others are released. I had success already in making them work like checkboxes (hold/release) using this:
tb.SetButtonStyle(0,TBBS_CHECKGROUP);
I have tried to make the radio button using ON_UPDATE_COMMAND_UI, but doesnt work.
Any body has a solution?
Thanks in advance.
PS: the toolbar is in a dialog box.