The explain is very easy, this is the menu of one program where I found the problem.
Code: Select all
@MENU 1,
{
{"Ritual",
{
{"See the Maiden", ID="Doncella", Flags=#MENUITEM_TOGGLE},
{""},
{"Exit...", ID="quit", Hotkey="ESC"}
}
},
{"Special Tools",
{
{"Hand", ID="Puntero01", Flags=#MENUITEM_DISABLED},
{""},
{"Option2, ID="Puntero05", Flags=#MENUITEM_DISABLED},
{"Option3", ID="Puntero06", Flags=#MENUITEM_DISABLED},
{"Option4", ID="Puntero07", Flags=#MENUITEM_DISABLED},
{"Option5", ID="Puntero08", Flags=#MENUITEM_DISABLED},
{"Bowl", ID="Puntero09", Flags=#MENUITEM_DISABLED}
}
},
{"Vital",
{
{"Option1", ID="Fluido01", Flags=#MENUITEM_DISABLED},
{"Option2", ID="Fluido02", Flags=#MENUITEM_DISABLED},
{"Option3, ID="Fluido03", Flags=#MENUITEM_DISABLED}
}
},
{"Preferences",
{
{"Left handed", ID="Zurdo", Flags=#MENUITEM_TOGGLE},
{"Right handed", ID="Diestro", Flags=#MENUITEM_TOGGLE},
{""},
{"Pentacle",
{
{"Normal", ID="Pentaculo01", Flags=#MENUITEM_TOGGLE},
{"Inverted", ID="Pentaculo02", Flags=#MENUITEM_TOGGLE}
}
},
{""},
{"Wicca Bowl",
{
{"Triquetra", ID="Copa1", Flags=#MENUITEM_TOGGLE},
{"Triple Goddess", ID="Copa2", Flags=#MENUITEM_TOGGLE},
{"Skull Cup", ID="Copa3", Flags=#MENUITEM_TOGGLE}
}
},
{""},
{"Sound",
{
{"ON", ID="SonidoOn", Flags=#MENUITEM_TOGGLE},
{"OFF", ID="SonidoOff", Flags=#MENUITEM_TOGGLE}
}
},
{"Voices..",
{
{"ON..", ID="VozOn", Flags=#MENUITEM_TOGGLE},
{"OFF..", ID="VozOff", Flags=#MENUITEM_TOGGLE}
}
},
{""},
{"Parental control",
{
{"Enter Password", ID="Clave"},
{"Change Password", ID="Cambiar"},
{"Remove Password", ID="Anular"}
}
},
{""},
{"Save..", ID="save"}
}
},
{"?",
{
{"Help", ID="Ayuda01"},
{""},
{"About", ID="about"},
{"Visit my web to check updates", ID="web"}
}
}
}
In this menu taken from my Virtual Maiden, the options with Flags=#MENUITEM_DISABLED, when have been activated and the options like:
when you hide the program under MorphOS the options with the Flags=#MENUITEM_DISABLED and have been actiavated again change to be disabled and the normal options lile the ON or OFF that show tab of one of the two activated options also disappear, in both cases after of hide and recover the program the status of options is removed while in Windows this problem does not exist, you can hide the program and when you recover it the options are showed correctly if they are activated and the tab in the chosen options.