Results 1 to 9 of 9
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disable Popup Menu (2000)

    How can I create autoexec code to disable the 'Popup Menu on right mouse click' and also disable the 'Show Popup Menu Button' options?

    I've been giving this room a bit of a workout here, but thanks for all the replies.

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disable Popup Menu (2000)

    Started to write code, then discovered Tools -> Options -> View tab, uncheck Popup menu on right ... and Show popup menu button. Bill thinks of everything! HTH --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Popup Menu (2000)

    Thanks Sam, I'm aware of those options, but I will be distributing my presentation to users throughout the organisation, so I need autoexec code that shuts those options off.

  4. #4
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disable Popup Menu (2000)

    Started to write code, but couldn't find anything in the object model. Turns out, as MVP Shyam Pillai says in this thread that it is not there and you would have to use a Windows API call to modify the registry before starting PowerPoint.

    However there is a WindowBeforeRightClick event, just not sure how to use it. Let me experiment. --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  5. #5
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Popup Menu (2000)

    I appreciate your comments and reply, Sam. Look forward to your further research!

  6. #6
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disable Popup Menu (2000)

    Well, you won't like it. It's not really something that you want to distribute to your organization unless you are the admin.

    First, download and install Shyam Pillai
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  7. #7
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Disable Popup Menu (2000)

    You do NOT want to MESS with any ones machine, even if it is the company's, unless you can guarantee that when your presentation is completed that the settings will be restored.
    This type of Forced setting changes will drive the IT department <img src=/S/bananas.gif border=0 alt=bananas width=33 height=35>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  8. #8
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Popup Menu (2000)

    Sam - thanks for the obviously extensive effort you've gone to. Dave - I see your point too. This will be a matter for my IT department head to decide on.

    Why can't they allow something like:

    CurrentPresentation.RightMouseClick = False
    CurrentPresentation.PopupMenuButton.Enabled = False ??!!

    Sure would make life easier!!!

  9. #9
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Popup Menu (2000)

    > Cancel = True

    Heh heh. Thanks.
    I have an App whereby the user can right-click on a filename in a regular table, and I can now check that the file exists. Perfect!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •