Author Topic: Custom pop up menus near the mouse pointer location?  (Read 1570 times)

0 Members and 1 Guest are viewing this topic.

Bob Q

  • Guest
Custom pop up menus near the mouse pointer location?
« on: December 30, 2011, 01:47:28 PM »

I would like to learn how to make custom pop up menus that we can trigger with a single key stroke from a gaming type mouse, or a left hand "extra keyboard" gaming controller.  We would like the menus to pop up near the mouse location on the screen just like the middle mouse button menu does.

I would like to have several of these custom menus triggered by different mouse buttons i.e. one for different view points, one for some basic commands etc.

If anyone has any thoughts I would appreciate the advice.
Thanks!

VovKa

  • Swamp Rat
  • Posts: 1153
  • Ukraine
Re: Custom pop up menus near the mouse pointer location?
« Reply #1 on: December 30, 2011, 05:49:06 PM »
this one will catch mouse buttons and simulate keystrokes ie. type commands into acad command line
http://www.highrez.co.uk/downloads/XMouseButtonControl.htm

this one will show a custom menu
http://www.theswamp.org/index.php?topic=32261.msg377746#msg377746

Bob Q

  • Guest
Re: Custom pop up menus near the mouse pointer location?
« Reply #2 on: December 30, 2011, 08:26:52 PM »
Thanks, this is a really good method.
I am having some trouble with a gaming mouse, but I think once I get that figured out I will be off and running!

Thanks for all the help!

alanjt

  • Needs a day job
  • Posts: 5327
  • Standby for witty remark...
Re: Custom pop up menus near the mouse pointer location?
« Reply #3 on: December 30, 2011, 08:37:24 PM »
If you have DosLib installed, dos_popupmenu is really useful.


Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Bob Q

  • Guest
Re: Custom pop up menus near the mouse pointer location?
« Reply #4 on: December 30, 2011, 08:39:54 PM »
I do in fact have Dos_lib installed,,, funny the solution was right under my nose :kewl:

alanjt

  • Needs a day job
  • Posts: 5327
  • Standby for witty remark...
Re: Custom pop up menus near the mouse pointer location?
« Reply #5 on: December 30, 2011, 08:42:06 PM »
I do in fact have Dos_lib installed,,, funny the solution was right under my nose :kewl:
I use the function quite a bit myself.  8-)
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Custom pop up menus near the mouse pointer location?
« Reply #6 on: December 30, 2011, 09:08:11 PM »
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

Bob Q

  • Guest
Re: Custom pop up menus near the mouse pointer location?
« Reply #7 on: December 31, 2011, 10:29:15 AM »
Jaws??

Tharwat

  • Swamp Rat
  • Posts: 518
  • Hypersensitive
Re: Custom pop up menus near the mouse pointer location?
« Reply #8 on: December 31, 2011, 11:54:03 AM »
This thread is very important and you could get what you looking for .. You may need to register

http://www.cadtutor.net/forum/showthread.php?59516-DOSLib-Developer-Tools-Popup-Menu&p=403621&viewfull=1#post403621
« Last Edit: December 31, 2011, 11:58:55 AM by Tharwat »