RE: can't see my menu item

From: Greg (Greg_at_discussions.microsoft.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 11:35:01 -0800

Hi, Kirk. I had the same problem and I made the following workaround for it:

I edited the resources (.rc) file with a text editor and I saw that there
was something wrong with the definition of the item that couldn't be seen: If
I remember well, the identifier constant of the item didn't appear on the
resources file and instead of it, a numeric constant appeared.

I then had a look at the resource.h file (with the text editor) and I saw
that the identifier constant of the item was not defined on it.

I defined the constant in resource.h file and I wrote the constant name in
the resource (.rc) file instead of the constant, and it worked.

Anyway, just in case, make a copy of these two files prior to the changes
with the text editor.

Good luck.

"Kirk" wrote:

> Hello,
>
> In my application (EVC3, PPC 2000/2002), i create a menu with the resource
> editor. The first item is a pop-up (with items inside), and the second item
> is not a pop-up. The problem is i can't see the second item (under emulator
> or device).
>
> Is it normal ?
>
> Thanks in advance.
>
>



Relevant Pages

  • Release of RosAsm V.2.007b
    ... Review of the Dialog Editor Function for Loading a Dialog Template from ... First release of Diego Fraga review of the Resources Manager, ... Debugger Memory Inspector. ...
    (alt.lang.asm)
  • Re: Headers common to .cpp and .rc files
    ... .RC file you may have problems if you use the RC editor to add or remove ... resources in the future since it takes liberties in rewriting the file. ... there is no way of controlling how the editor rewrites the .RC file. ... there is no compelling reason to have an .RC2 file at ...
    (microsoft.public.vc.language)
  • Re: Program Resources
    ... editor that was able to give access to the resources within a program. ... change displayed text, and modify screens. ... just google for "resource editor" ...
    (microsoft.public.windowsxp.basics)
  • Re: ELF loading
    ... How do you want to loose a Source that is comming with the ... as well as Resources and all? ... You can also load the PE in an Editor like Ultra-Edit, ...
    (alt.lang.asm)
  • Re: How to handle pop-up menu event?
    ... So when users right click on one of the item, a pop-up menu will be shown. ... You are MUCH better off creating a menu in the resource editor. ... CMenu * submenu = menu.GetSubmenu; ... some state information in the control somehow ...
    (microsoft.public.vc.mfc)