Resource Editing in VC6
-
While playing around with CSpinButtonCtrl I inadvertantly created a monster. Because I created the controls in the wrong order the spinner was updating the wrong item in the dialog. There is no obvious way to change it, either. While searching for the identifier for the control I somehow managed to open the .rc file that defines the dialog layout for text editing. A couple of clicks and shuffles fixed everything nicely, but I can't figure out any way to open this file for text editing directly. Is there an easy way to do so, just in case I screw up again (as I'm sure I will)? "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
-
While playing around with CSpinButtonCtrl I inadvertantly created a monster. Because I created the controls in the wrong order the spinner was updating the wrong item in the dialog. There is no obvious way to change it, either. While searching for the identifier for the control I somehow managed to open the .rc file that defines the dialog layout for text editing. A couple of clicks and shuffles fixed everything nicely, but I can't figure out any way to open this file for text editing directly. Is there an easy way to do so, just in case I screw up again (as I'm sure I will)? "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
you want to open the .rc file for text editing? if so, 1) right click on the RC file in the file view, and select: "open with.." 2) then select the option you wish to open it as. Note: if you have the .rc file already opened in the resource editor it will ask you to close it.
-
you want to open the .rc file for text editing? if so, 1) right click on the RC file in the file view, and select: "open with.." 2) then select the option you wish to open it as. Note: if you have the .rc file already opened in the resource editor it will ask you to close it.
That's what I expected, but there is no "Open with..." option in the context menu. I also checked the project settings to look for various things like "set default resource editor" but there are no such options there. "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
-
While playing around with CSpinButtonCtrl I inadvertantly created a monster. Because I created the controls in the wrong order the spinner was updating the wrong item in the dialog. There is no obvious way to change it, either. While searching for the identifier for the control I somehow managed to open the .rc file that defines the dialog layout for text editing. A couple of clicks and shuffles fixed everything nicely, but I can't figure out any way to open this file for text editing directly. Is there an easy way to do so, just in case I screw up again (as I'm sure I will)? "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
Click
File->Open
, browse & select the .rc file. In theOpen as
combo box, selectText
. VoilĂ ! A faster alternative is to use WndTabs[^] and assign a hotkey to their "Open as text" command (I use Ctrl+Alt+Shift+T). Then when you are viewing any resource, use that command and it'll open the .rc file as text. --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0! | RightClick-Encrypt You cannot stop me with paramecium alone! -
That's what I expected, but there is no "Open with..." option in the context menu. I also checked the project settings to look for various things like "set default resource editor" but there are no such options there. "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
'Open with' exists in vc7 not vc6 The only way I know it works is this: Menu/Edit/Find in Files Find What: I use a dot because it almost always there or the words like: main, bmp, ico, etc worse case use a text editor to know what is written in there Files types: *.rc Most of the times Visual Studio will tell you that it is Already open with another resource editor. Close it ? Answer yes ( after saving wanted changes ) Another day lost - No targets met; my system sucks ... :) Marcello