hi, all
I want to show a non-modal WDialog when a WText option clicked, but it will
be better if WDialog can show at MouseEvent Coodinates.
I tried the js function like WPopupMenu:
wApp->doJavaScript (WT_CLASS ".positionXY('" + id() + "'," +
boost::lexical_cast<std::string>(
event.document().x) + "," +
boost::lexical_cast<std::string>(event.document().y) + ");"
);;
these codes did not work, that is right?
Thanks
Best Regards
Zhimin
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest