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. where are dialog box saved on disk

where are dialog box saved on disk

Scheduled Pinned Locked Moved C / C++ / MFC
13 Posts 5 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.
  • N Offline
    N Offline
    neha agarwal27
    wrote on last edited by
    #1

    Hi all, I just wanted to know that when we a make a dialog based application where are dialogs saved on disk as we have bmps saved in our res folder. Thanks in advance

    P H N D 4 Replies Last reply
    0
    • N neha agarwal27

      Hi all, I just wanted to know that when we a make a dialog based application where are dialogs saved on disk as we have bmps saved in our res folder. Thanks in advance

      P Offline
      P Offline
      Paresh Chitte
      wrote on last edited by
      #2

      Do you mean dialog creation ? Please refer here[^] for more information. Regards, Paresh.

      1 Reply Last reply
      0
      • N neha agarwal27

        Hi all, I just wanted to know that when we a make a dialog based application where are dialogs saved on disk as we have bmps saved in our res folder. Thanks in advance

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        Dialogs are on the RC files.Is this your answer?

        1 Reply Last reply
        0
        • N neha agarwal27

          Hi all, I just wanted to know that when we a make a dialog based application where are dialogs saved on disk as we have bmps saved in our res folder. Thanks in advance

          N Offline
          N Offline
          neha agarwal27
          wrote on last edited by
          #4

          Actually i m asking this thing because i have a dialog based application in a disk, when i copy same application on to another disk, size remains same but i am unable to get my dialog box in my newly copied application. I have opened resource file also, but definations are also not available there. Now i dont know how to get my previous dialog boxes.

          P A D 3 Replies Last reply
          0
          • N neha agarwal27

            Actually i m asking this thing because i have a dialog based application in a disk, when i copy same application on to another disk, size remains same but i am unable to get my dialog box in my newly copied application. I have opened resource file also, but definations are also not available there. Now i dont know how to get my previous dialog boxes.

            P Offline
            P Offline
            Paresh Chitte
            wrote on last edited by
            #5

            neha.agarwal27 wrote:

            Actually i m asking this thing because i have a dialog based application in a disk, when i copy same application on to another disk, size remains same but i am unable to get my dialog box in my newly copied application. I have opened resource file also, but definations are also not available there. Now i dont know how to get my previous dialog boxes.

            ??? I am not able to understand your problem. Could you please mention your problem more clearly ? Regards, Paresh.

            1 Reply Last reply
            0
            • N neha agarwal27

              Actually i m asking this thing because i have a dialog based application in a disk, when i copy same application on to another disk, size remains same but i am unable to get my dialog box in my newly copied application. I have opened resource file also, but definations are also not available there. Now i dont know how to get my previous dialog boxes.

              A Offline
              A Offline
              Anand Todkar
              wrote on last edited by
              #6

              neha.agarwal27 wrote:

              when i copy same application on to another disk

              u mean u copied the source code or the built output?

              Thanks, Anand.

              N 1 Reply Last reply
              0
              • A Anand Todkar

                neha.agarwal27 wrote:

                when i copy same application on to another disk

                u mean u copied the source code or the built output?

                Thanks, Anand.

                N Offline
                N Offline
                neha agarwal27
                wrote on last edited by
                #7

                whole source code

                A 1 Reply Last reply
                0
                • N neha agarwal27

                  whole source code

                  A Offline
                  A Offline
                  Anand Todkar
                  wrote on last edited by
                  #8

                  When we create any dialog, when we use some controls on that dialog the implementation for that dialog is inside our MFC DLLs, also if we have some custom controls then implementation for it is in that particular DLLs, as the dialog is not external dependancy (unlike BMPs), it is inside the application itself, and the information related to that dialog is given in resource file, using Resource file information the compiler takes the corresponding resources and renders dialog accordingly. Wht you must have missed is to copy the resouce file properly. Copy it again and compile it .. Hopefully it should work then.

                  Thanks, Anand.

                  N 1 Reply Last reply
                  0
                  • A Anand Todkar

                    When we create any dialog, when we use some controls on that dialog the implementation for that dialog is inside our MFC DLLs, also if we have some custom controls then implementation for it is in that particular DLLs, as the dialog is not external dependancy (unlike BMPs), it is inside the application itself, and the information related to that dialog is given in resource file, using Resource file information the compiler takes the corresponding resources and renders dialog accordingly. Wht you must have missed is to copy the resouce file properly. Copy it again and compile it .. Hopefully it should work then.

                    Thanks, Anand.

                    N Offline
                    N Offline
                    neha agarwal27
                    wrote on last edited by
                    #9

                    No it is not working properly. i have tried copying it again but still the same problm is there.

                    P A 2 Replies Last reply
                    0
                    • N neha agarwal27

                      No it is not working properly. i have tried copying it again but still the same problm is there.

                      P Offline
                      P Offline
                      Paresh Chitte
                      wrote on last edited by
                      #10

                      Try recompiling the code again. Regards, Paresh.

                      1 Reply Last reply
                      0
                      • N neha agarwal27

                        No it is not working properly. i have tried copying it again but still the same problm is there.

                        A Offline
                        A Offline
                        Anand Todkar
                        wrote on last edited by
                        #11

                        neha.agarwal27 wrote:

                        No it is not working properly

                        Then there must be some specifice problem to your project, ideally it should work.

                        Thanks, Anand.

                        1 Reply Last reply
                        0
                        • N neha agarwal27

                          Hi all, I just wanted to know that when we a make a dialog based application where are dialogs saved on disk as we have bmps saved in our res folder. Thanks in advance

                          D Offline
                          D Offline
                          David Crow
                          wrote on last edited by
                          #12

                          Dialog templates are stored in the project's .rc file. After compiling, they are in a .res file along with all the other resources (e.g., bitmaps, menus, icons).


                          "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                          1 Reply Last reply
                          0
                          • N neha agarwal27

                            Actually i m asking this thing because i have a dialog based application in a disk, when i copy same application on to another disk, size remains same but i am unable to get my dialog box in my newly copied application. I have opened resource file also, but definations are also not available there. Now i dont know how to get my previous dialog boxes.

                            D Offline
                            D Offline
                            David Crow
                            wrote on last edited by
                            #13

                            neha.agarwal27 wrote:

                            when i copy same application on to another disk...

                            How?

                            neha.agarwal27 wrote:

                            ...size remains same...

                            Of what?

                            neha.agarwal27 wrote:

                            ...i am unable to get my dialog box in my newly copied application.

                            What do you mean by "get my dialog box?"

                            neha.agarwal27 wrote:

                            I have opened resource file also, but definations are also not available there.

                            Definations? Can you open the copied .rc file and locate the dialog templates? If not, can you do so with the original .rc file? Is the dialog created at design-time or at run-time?


                            "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                            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