Hello ! Sorry for my so bad english...
I want to build a little menu with 4 item but I need to separate the 3th and the 4th with a "SEPARATOR".
Is it possible to do this with RadAsm ? I'm searching since a long time...
If you know a solution... Please help me !
Thank you
use the menuitem's caption as "-" (single hyphen)
No need to give it a name or an ID !!!
QuoteNo need to give it a name or an ID !!!
:naughty: Nope.
Actually MENUITEM "",0 is the separator, which means that you have EMPTY name and NULL ID. It can't be done if you dont have them at all!
jissé, you can do it like that:
#define MAINMENU 100 //optional ,you can use just the string "MAINMENU" instead of const. ID, but i prefer this way
#define IDM_ONE 101
#define IDM_TWO 102
#define IDM_THREE 103
#define IDM_FOUR 104
MAINMENU MENU
{
POPUP "&Main Popup"
{
MENUITEM "&One",IDM_ONE.
MENUITEM "&Two",IDM_TWO
MENUITEM "",0
MENUITEM "&Three",IDM_THREE
MENUITEM "&Four",IDM_FOUR
}
}
This _IS_ inside the RADASM support forum...so assuming editing via RadASM's menu editor... :P
Regarding this:
MENUITEM "",0
if directly editing the .RC file
try:
MENUITEM SEPARATOR
(bear in mind keep the menu resource as MENU and NOT MENUEX for "MENUITEM SEPARATOR")
for MENUEX the "MENUITEM,,..." thing will need to be done.
Nice !
Thank you for your help !
Have a good day shaka_zulu and shantanu_gadgil !