where are dialog box saved on disk
-
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
-
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
-
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
Dialogs are on the RC files.Is this your answer?
-
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
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.
-
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.
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.
-
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.
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.
-
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.
whole source code
-
whole source code
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.
-
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.
No it is not working properly. i have tried copying it again but still the same problm is there.
-
No it is not working properly. i have tried copying it again but still the same problm is there.
Try recompiling the code again. Regards, Paresh.
-
No it is not working properly. i have tried copying it again but still the same problm is there.
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.
-
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
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
-
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.
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