Menu IDs converting to Number (VS 2003) ?!?
-
I'm using Visual Studio 2003 for an MFC project, and every once and a while (more frequently lately) some of my menu IDs convert from the ID representation (e.g. "ID_FILE_HELLO_WORLD" to the number (e.g. "20412"). Has anyone else seen this bug, and if so, how can I avoid it? It's driving me nuts! :mad: Warren (sorry, I also posted this in the C++/CLI board by accident)
-
I'm using Visual Studio 2003 for an MFC project, and every once and a while (more frequently lately) some of my menu IDs convert from the ID representation (e.g. "ID_FILE_HELLO_WORLD" to the number (e.g. "20412"). Has anyone else seen this bug, and if so, how can I avoid it? It's driving me nuts! :mad: Warren (sorry, I also posted this in the C++/CLI board by accident)
Have you checked your
resource.h
file to check if the resource ID's#define
s are still there? I've never come across this problem...Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
I'm using Visual Studio 2003 for an MFC project, and every once and a while (more frequently lately) some of my menu IDs convert from the ID representation (e.g. "ID_FILE_HELLO_WORLD" to the number (e.g. "20412"). Has anyone else seen this bug, and if so, how can I avoid it? It's driving me nuts! :mad: Warren (sorry, I also posted this in the C++/CLI board by accident)
-
Have you checked your
resource.h
file to check if the resource ID's#define
s are still there? I've never come across this problem...Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
Yes, they are okay (and it still compiles fine), it's just when you go into the menu editor all of the ID_... entries are converted to their numbers. It's VERY frustrating! Count yourself lucky if you don't experience this... Warren
-
This is a well known VS 2003 bug. Annoying huh? It appears to have been fixed in VS 2005.
Yes it's REALLY annoying. It started out as just a few of my menu items, and now it's "spreading" to quite a few of them! (this is the sort of thing that makes me jealous of those open-source projects - I honestly would spend the time to fix this myself, it would probably be less work than continually repairing my menus) Is there no work-around? (other than VS 2005) :sigh: Warren
-
Yes it's REALLY annoying. It started out as just a few of my menu items, and now it's "spreading" to quite a few of them! (this is the sort of thing that makes me jealous of those open-source projects - I honestly would spend the time to fix this myself, it would probably be less work than continually repairing my menus) Is there no work-around? (other than VS 2005) :sigh: Warren
-
I found this submitted as bug ID: FDBK17799 at Microsoft. The final (and not so helpful comment) was: ============================ Resolved as Won't Fix by Microsoft on 2005-07-27 at 12:31:15 Thank you for reporting this issue. We've been reproduced the bug for Resource IDs >= 32768. Unless you are using that many IDs we suggest to use Resource IDs < 32768. Sorry for the inconvinience. =========================== (which conflicts with the ID-range advice from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/\_mfcnotes\_tn020.asp but maybe for the time being, I will change my IDs to this lower range, and take my chances down there :wtf: :wtf: :wtf: Warren