- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a dialog containing lots of edit boxes. 12 of them form a series which I have identified as IDC_desc1, IDC_desc2, ... IDC_desc12. Well that's the theory anyway, but the resource editor will not let me use IDC_desc3 or IDC_desc4, telling me they are already in use. They are in use in another unrelated dialog box, but so are a number of the other 10 identifiers along with further identifiers. I have checked that there are no duplicate edit boxes sitting behind others, and after I have deleted them I have searched for the identifiers - they are not there.
I have opened a third unrelated dialog box and inserted edit boxes identified as IDC_desc3 & IDC_desc4 with no objection from the editor.
This sounds like a stupid problem, and obviously I can work around it by using different identifiers, but it's annoying and I'd love to know what's going on.
Please can anyone suggest what might be happening?
With many thanks in advance,
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps:
- IDC_desc3and IDC_desc4 are used in another dialog and already defined as e.g. 1003 and 1004 respectively
- butthe dialog in question already had 1003 and 1004 but with different ID names?
In my opinion, that's a plausible situation and the resource editor can not be reasonably expected to cope with it, except to forbid it. You can always edit resource.h manually to resolve it.
Jugoslav

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