May 12th, 1999, 04:52 AM
I have to add a warning message when the user switch from one radio button to another. I used the message (BN_CLICKED) the only one I could use to display an AfxMessageBox with the warning message and Yes-No buttons.
If the user click on a radiobutton, click on another, that's good.
But if the user press the arrows to switch, several BN_CLICKED are generated and my function OnRadioButton is called several times in the same time, displaying a succession of Message Boxes.
Does someone already met this problem and have any solution ?
Pascal.
If the user click on a radiobutton, click on another, that's good.
But if the user press the arrows to switch, several BN_CLICKED are generated and my function OnRadioButton is called several times in the same time, displaying a succession of Message Boxes.
Does someone already met this problem and have any solution ?
Pascal.