implement menu in pointer and link, but it takes too muck memery space to init the menu, I am about to give up it, and switch to another way to achieve that.