1 Attachment(s)
Keeping Dialog Button Selected
I am writing a program in Visual Studios 2012 Express edition I created a Dialog Box using ResEdit that looks like this
Attachment 31737
I want to make it so when I select the A Button button it stays selected when im changing the value in the repeat and delay editboxes I only want it to deselect it when I click On another button like the B Button button.
Is there a way to make this Dialog Boxes buttons group buttons if not how do I accomplish what im trying to do?
Re: Keeping Dialog Button Selected
Did you consider using radio buttons instead the push ones?
Re: Keeping Dialog Button Selected
Quote:
Originally Posted by
VictorN
Did you consider using radio buttons instead the push ones?
Yeah at first but I didn't really like the look but so far that seems like the best option right now? I could make a dialog box with CreateWindowEX than I could probably set the buttons I create a CheckGroup but I would rather use a resource Editor.
Re: Keeping Dialog Button Selected
Quote:
Originally Posted by
william3711
Yeah at first but I didn't really like the look but so far that seems like the best option right now?
You should first think about usability, not the look!
Re: Keeping Dialog Button Selected
Very true I agree with you 100% on that. Looking into radio buttons I found in resedit there is a act like a push button option that makes it look like a push button but still work as a radio button. Thanks for your help :)
Re: Keeping Dialog Button Selected
There is a lot of controls available in a toolbox of resource editor. The radio button is one of them.