right click menu


dear all
i would like to create a right click menu in the part mode and needto call a function in macro. how can i create a menu in right clockevent and call the macro.can any one help me out on this.SolidworksEdrawings