> So this could have been:
>
>
> MYMENU_MENU MENUEX
>
> {
> POPUP "&File" IDM_FILE_POPUP
>
> {
>
> MENUITEM "&Open", MENU_FILEOPEN
> MENUITEM "&New", MENU_FILENEW
>
> MENUITEM "&Save", MENU_FILESAVE
> MENUITEM "&Saveas", MENU_FILESAVEAS
>
> MENUITEM SEPARATOR
>
> MENUITEM "Recent", MENU_FILELAST1
> ....
>
>
> where IDM_FILE_POPUP would be a symbolic ID of say, 150. With the
> extended menu format, separators can be assigned IDs also and you
> could remove it by ID without worrying about the position thing.
This did not work for me, nor did trying to use symbolic ID for the separator menuitem.
This did not work for me, nor did trying to use symbolic ID for the separator menuitem.
When using symbolic ID on both the POPUP and the MENUITEM statements as:
POPUP "&File" MENU_FILE -- defined in .h file
..
MENUITEM SEPARATOR MENU_FILESEP -- also defined in .h file
I get an error on the filePopUp~removeSeparator(MENU_FILESEP) statement of:
Object "0" does not understand message "REMOVESEPARATOR" in UNINIT() of Menu class ...
I get the same error if I use positional syntax on the removeSeparator statement too.
If I use positional syntax on both the getPopUp and on the removeSeparator, it appears to
work but then I get what appears to be trace info:
In uninit() of PopUpMenu
In UNINIT() of Menu class cMenu=009B4308
I also tried the syntax in the .rc file of
POPUP "&File", MENU_FILE
and
MENUITEM SEPARATOR, MENU_FILESEP
note the commas here, and got an error there too, but I think it was a different error - I did not
record it before I tried something else.
I am okay with using the positional syntax, but would like to understand better why the
symbolic syntax does not appear to work. I have been editing the .h and .rc files manually
and am not using a resource editor.
--
Art Heimsoth - artst...@artheimsoth.com
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users