Re: [Dev-C++] creating buttons, radio buttons but how do you group them?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <cg...@wo...> - 2003-02-09 17:30:02
|
I've no great experience with this, but for what I've read: You just make that each of the group member withc consequtive IDs, so you can use the function CheckRadioButton(HWND of the parent, int ID of the first button, int ID of the last, int ID of the one you want check); So you check that button and uncheck the others with just this call. Danny Roelofs wrote: > I know how to create radio buttons with the usage of CreateWindowEx > but i wish to make two set's of radio buttons each set > containing three pieces, as the following example: > > Delelete file > O No > O Yes > O Ask > > Move file > O Noway > O Sure > O Ask me first > > These two sets have to be on the samen window but one radiobutton in a > set may only deselect the other's in the same > group instead of in my current situation they all communicatie with > each other without me doing anyting. > > I already have been reading about "in the same group" article's but i > can't find an example how to define those who must > be in one set and the others in the second set of radiobuttons. > > Can someone give me advise on this!. > > Thanks, > > Danny. > > |