- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i am using VS2008 in combination with IVF 11.1.xxx to build a win32 application based on Xeffort. To design dialogs i am using the VS resource dialog.
As far as i understand VS is saving the dialog elements in the file ressource.h . There i can find mutiple line containing
#define IDC_Name1 1001
#define IDC_Name2 1002
...
Based on the file ressource.h file during compilation the ressource.rd is produced. Containing the same names and numbers.
In my ressource.h file there are multiple definid numbers, eg:
#define IDC_Name11 1011
#define IDC_Name21 1011
Is this a problem? Should i change this numbers to unique number? Will multiple defined numbers produce problems?
Thanks in advance
Frank
i am using VS2008 in combination with IVF 11.1.xxx to build a win32 application based on Xeffort. To design dialogs i am using the VS resource dialog.
As far as i understand VS is saving the dialog elements in the file ressource.h . There i can find mutiple line containing
#define IDC_Name1 1001
#define IDC_Name2 1002
...
Based on the file ressource.h file during compilation the ressource.rd is produced. Containing the same names and numbers.
In my ressource.h file there are multiple definid numbers, eg:
#define IDC_Name11 1011
#define IDC_Name21 1011
Is this a problem? Should i change this numbers to unique number? Will multiple defined numbers produce problems?
Thanks in advance
Frank
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably only if the controls to which they refer are in the same dialog. You can always change the control ID number within the Resource editor. Open the Properties page for the control and in the ID edit box, where it displays IDC_NAME11, you can edit it by typing instead
IDC_NAME11=1234
and the control ID value will be changed to 1234.
You can view all the resource symbol values using the 'View..Resource Symbols' menu item, so that you can see what integer each control ID equals.
IDC_NAME11=1234
and the control ID value will be changed to 1234.
You can view all the resource symbol values using the 'View..Resource Symbols' menu item, so that you can see what integer each control ID equals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume you mean resource.fd. This is created by running the deftofd tool that Fortran supplies. The numbers should match the .h. If you find they don't, please attach the .h and .fd so I can take a look at it.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page