Game Development Community

Right-Click popup menu?

by Cameron Aycock · in Torque Game Engine · 05/08/2004 (3:01 pm) · 3 replies

I was wondering if anyone knew what Gui control would be used for a right-click style popup menu, with multiple clickable items. Do I need to roll my own or is there a popup menu somewhere that I can look at. I havn't found anything yet, but am still looking. Any helps or simply a place to look would be appreciated.

Thanks,
Cam

#1
05/08/2004 (3:04 pm)
Guipopupmenu.cc should hold some information about how the normal popup is done. I think you could use that to simply hide the menu, and when a right-click is done, it gets visible and reads position of the cursor, and jumps to that position.

I guess it is harder than that but, might give you the idea.
#2
05/08/2004 (3:48 pm)
There is an example of how to do a right-click popup menu in the TGE In-Game Script Editor thread / resource.
#3
05/08/2004 (6:16 pm)
Thanks a million guys..