Sam.Online
06-07-2008 13:27:27
Hi again, i'd like to make a PopupMenu appear when a button is pressed... but i can't find anyway to do it... maybe someone here may know how? It would be awesome xD
Sam.Online
06-07-2008 13:27:27
Human Bug
06-07-2008 14:40:56
my.name
06-07-2008 18:14:05
void main
{
// create menu and button
}
void button_click(WidgetPtr _sender)
{
IntPoint point = InputManager::getInstance().getLastLeftPressed();
menu->showPopupMenu(point);
}
Sam.Online
07-07-2008 16:47:48