The XP mod tutorial seriously needs to be taken down. I don't think you could count in a lifetime how many times people have changed a couple of lines in XP mod, had trouble with it because they don't know what they're doing, then go and complain without realizing that they started learning with something much harder than they can handle.
On top of this, the XP mod is done poorly and it uses outdated APIs which discourages people from using things that make it much easier to do what they're trying to do.
As for your question,
Search. I'll give you a clue: look for "new menus" in "Code Snippets/Tutorials".
__________________