Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Resource Editing in VC6

Resource Editing in VC6

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmsquestionlearning
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #1

    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.

    S M 2 Replies Last reply
    0
    • R Roger Wright

      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.

      S Offline
      S Offline
      Signal 9
      wrote on last edited by
      #2

      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.

      R 1 Reply Last reply
      0
      • S Signal 9

        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.

        R Offline
        R Offline
        Roger Wright
        wrote on last edited by
        #3

        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.

        M 1 Reply Last reply
        0
        • R Roger Wright

          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.

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          Click File->Open, browse & select the .rc file. In the Open as combo box, select Text. 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!

          1 Reply Last reply
          0
          • R Roger Wright

            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.

            M Offline
            M Offline
            Marcello
            wrote on last edited by
            #5

            '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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups