|
-
May 1st, 2001, 08:12 PM
#1
Thread Starter
PowerPoster
viewing the resource files!
I am using visual C++ 6. Actally I have created a dialog box in a resource file called "resource.rc" using MFC. How do I view and edit the code which is behind that MFC dialog box in the resource file?
-
May 2nd, 2001, 09:47 AM
#2
Frenzied Member
I am not sure what you want to do, but the only code that would be in the resource file would be the coresponding INT vaules to the resource items. Do you want to do that? Or are you looking to have actions happen with your dialog box? Like when a button is clicked do this.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
May 2nd, 2001, 04:33 PM
#3
Thread Starter
PowerPoster
I know that I will have to write the code
I know that I will have to write the code for each action even if I am using MFC but let us say that I have created a menubar and it have a menu which is called "File" MFC puts some code in the resource file which is hidden, something like this:
BEGIN
POPUP "&File", ID_OF_FILE
END
I know that this is not right but this is just an example. Now I want to view this code in MFC.
Did you get that?
-
May 2nd, 2001, 09:25 PM
#4
Member
It's annoying but...
To see the code you need to open the resource file up in a text editor like notepad. MS C++ just won't let you see the code for some reason.
chilibean
-
May 3rd, 2001, 10:08 AM
#5
Frenzied Member
I have done it before by doing a search files, for some thing I knew would be in there like IDI_ICON1. Then double click on the resource.rc file when it came up in the search results.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|