Pelles C forum

Pelles C => Bug reports => Topic started by: adrian.voica on February 28, 2012, 08:08:23 PM

Title: Dialog class removal bug in Resource Editor.
Post by: adrian.voica on February 28, 2012, 08:08:23 PM
Hi. In the Resource Editor, after I have added a Dialog and some controls to it, I wanted to change the dialog's class name to empty, but I couldn't. After deleting the current class name, when I press Enter or jump to another field, the old class name is filled right back in. This is really annoying.  :'(
Title: Re: Dialog class removal bug in Resource Editor.
Post by: CommonTater on February 28, 2012, 08:27:28 PM
Just tried it... I can confirm the bug.

In the mean time you can close the resource editor and then right click on the .rc file in the project pain and select open as text ... then you can simply delete the line with the classname on it and save the file.


 
Title: Re: Dialog class removal bug in Resource Editor.
Post by: adrian.voica on February 28, 2012, 09:01:48 PM
Thanks for the quick solution. I didn't use .RC files, only .RES files, since I am embedding in FreePascal, so, this solution skipped my mind.
 :) Thanks again. Anyway, a fix in the resource editor is much appreciated.

Just tried it... I can confirm the bug.

In the mean time you can close the resource editor and then right click on the .rc file in the project pain and select open as text ... then you can simply delete the line with the classname on it and save the file.
Title: Re: Dialog class removal bug in Resource Editor.
Post by: CommonTater on February 29, 2012, 04:31:26 AM
Thanks for the quick solution. I didn't use .RC files, only .RES files, since I am embedding in FreePascal, so, this solution skipped my mind.
 :) Thanks again. Anyway, a fix in the resource editor is much appreciated.

Just tried it... I can confirm the bug.

In the mean time you can close the resource editor and then right click on the .rc file in the project pain and select open as text ... then you can simply delete the line with the classname on it and save the file.

Unfortunately I'm not the one who does the fixing.  That's Pelle's job :D 

I just thought you should know there was a workaround for it, to let you carry on with your project.

You might also like to take a look at THIS (http://www.resedit.net/)