Page 1 of 1

DragContainer::EventMouseClick( right once left twice)

Posted: Mon Aug 07, 2006 09:59
by angela4et
this problem occured when i want to put a target frame on top of the drag container
here is part of my code

// when mouse click set the target frame

dragwindow_ ->subscribeEvent(CEGUI::DragContainer::EventMouseClick, CEGUI::Event::Subscriber(&UI_InventoryItem::SetActionBtn, this));

but when i run it, the function SetActionBtn only execute when mouse right click ONCE or mouse left click TWICE ....... what is going on ?? :( :( :(