Hey Zhimin, 2010/7/10 Zhimin Song <[email protected]>: > 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?
Indeed, a dialog always tries to position itself in the middle of the screen. Can you create a feature request ticket for this ? Regards, koen ------------------------------------------------------------------------------ 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
