Discussion:
Problem with Resource Editor
(too old to reply)
Alexh
2009-11-09 18:00:50 UTC
Permalink
Hi,

Using VS2005, I was editing a dialog with 2 grouped radio buttons and
I decided to remove the group property from the first radio. I was
unable to assign a variable to the second radio so I deleted both
buttons and removed any code that referenced these buttons.

Now it appears that any radio button I attempt to add to this project,
in any dialog, is treated as part of a group because when I run the
add variable wizard it will not let me assign a variable (Resource ID
is not listed).

However, if I change the property of the radio button to grouped it
will allow me to add a variable. This happens even on dialogs with no
existing radio buttons. Something is "stuck".

I looked at the resource file, deleted the .ncb file, restarted but
nothing helps.

Any ideas?
Alexh
2009-11-09 18:51:29 UTC
Permalink
Post by Alexh
Hi,
Using VS2005, I was editing a dialog with 2 grouped radio buttons and
I decided to remove the group property from the first radio. I was
unable to assign a variable to the second radio so I deleted both
buttons and removed any code that referenced these buttons.
Now it appears that any radio button I attempt to add to this project,
in any dialog, is treated as part of a group because when I run the
add variable wizard it will not let me assign a variable (Resource ID
is not listed).
However, if I change the property of the radio button to grouped it
will allow me to add a variable. This happens even on dialogs with no
existing radio buttons. Something is "stuck".
I looked at the resource file, deleted the .ncb file, restarted but
nothing helps.
Any ideas?
OK,

I think I throughly confused myself here.. a single radio button makes
no sense.

Need to take a break...
Scot Brennecke
2009-11-11 08:06:40 UTC
Permalink
Post by Alexh
Post by Alexh
Hi,
Using VS2005, I was editing a dialog with 2 grouped radio buttons and
I decided to remove the group property from the first radio. I was
unable to assign a variable to the second radio so I deleted both
buttons and removed any code that referenced these buttons.
Now it appears that any radio button I attempt to add to this project,
in any dialog, is treated as part of a group because when I run the
add variable wizard it will not let me assign a variable (Resource ID
is not listed).
However, if I change the property of the radio button to grouped it
will allow me to add a variable. This happens even on dialogs with no
existing radio buttons. Something is "stuck".
I looked at the resource file, deleted the .ncb file, restarted but
nothing helps.
Any ideas?
OK,
I think I throughly confused myself here.. a single radio button makes
no sense.
Need to take a break...
So, you figured out that the variable represents the index for which
button in the group is selected, right? The first button has group
style and the others don't. One variable for all.

Loading...