RE: [Plib-devel] PUI Mouse Button Problems
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-10-05 22:15:23
|
OK, I am running into a visibility problem. My popup menu is being hidden the moment I release the mouse button and I have traced it to "puPopupMenu.cxx" line 158, which has (implicitly) my name on it. I think we have a contradiction here between the needs of the plain popup menu and the drop-down submenus of the menu bar and the vertical menu. I have been able to fix the problem in my application by calling "reveal" at every iteration but I really shouldn't have to do that. I think the function needs some maintenance. John F. Fay joh...@eg... 850-729-6330 _____ From: pli...@li... [mailto:pli...@li...] On Behalf Of Fay John F Contr AAC/WMG Sent: Tuesday, October 05, 2004 4:08 PM To: pli...@li... Subject: RE: [Plib-devel] PUI Mouse Button Problems The mask is a good idea, but it is going to involve a bit of surgery. At the moment the left button defined constant is 0, the middle button is 1, and the right button is 2. I would have to change those to 1, 2, and 4, and make sure nothing breaks. It doesn't look like it would be too big a deal, though, at least no in PUI itself. All the applications would have to be recompiled, though. Do I hear sounds of a new release floating on the breeze? John F. Fay joh...@eg... 850-729-6330 -----Original Message----- From: pli...@li... [mailto:pli...@li... <mailto:pli...@li...> ] On Behalf Of Steve Baker Sent: Tuesday, October 05, 2004 2:22 PM To: pli...@li... Subject: Re: [Plib-devel] PUI Mouse Button Problems Fay John F Contr AAC/WMG wrote: > Is it okay for me to add a feature to PUI to allow the > application to set which mouse button it wants the widget callback to be > invoked on? I think so. How about having a mask that lets you list all of the buttons the widget can be invoked with so you can allow EITHER the left OR the right (or the middle...) ? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org <http://www.sjbaker.org> Projects : http://plib.sf.net <http://plib.sf.net> http://tuxaqfh.sf.net <http://tuxaqfh.sf.net> http://tuxkart.sf.net <http://tuxkart.sf.net> http://prettypoly.sf.net <http://prettypoly.sf.net> -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl <http://productguide.itmanagersjournal.com/guidepromo.tmpl> _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel <https://lists.sourceforge.net/lists/listinfo/plib-devel> |