Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Disable popup menu in Macromedia Flash ActiveX

Disable popup menu in Macromedia Flash ActiveX

Scheduled Pinned Locked Moved C / C++ / MFC
comadobe
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnnyXP
    wrote on last edited by
    #1

    As you propably know when you right click on Flash ActiveX control you get a popup menu with at least one entry: "About Macromedia Flash Player". I know that is not legal (without license from Macromedia) to change the methods of the control, but i just wondering if there is any way to kill the popup when user right clicks the control. Thanks in advance.

    N 1 Reply Last reply
    0
    • J johnnyXP

      As you propably know when you right click on Flash ActiveX control you get a popup menu with at least one entry: "About Macromedia Flash Player". I know that is not legal (without license from Macromedia) to change the methods of the control, but i just wondering if there is any way to kill the popup when user right clicks the control. Thanks in advance.

      N Offline
      N Offline
      nguyenvhn
      wrote on last edited by
      #2

      There are few ways that you can try. I did it so long ago and I can not sure whether it is working now. _Hooking mouse message. That mean you intercept mouse message and by pass right click event. _Edit resource of flash.ocx and delete popup menu. It works only if customers do not install other newer ocx version. _Set Flash component to transparent. I do not know why that is but in VB form, popup menu did not display. Hope that help.

      J 1 Reply Last reply
      0
      • N nguyenvhn

        There are few ways that you can try. I did it so long ago and I can not sure whether it is working now. _Hooking mouse message. That mean you intercept mouse message and by pass right click event. _Edit resource of flash.ocx and delete popup menu. It works only if customers do not install other newer ocx version. _Set Flash component to transparent. I do not know why that is but in VB form, popup menu did not display. Hope that help.

        J Offline
        J Offline
        johnnyXP
        wrote on last edited by
        #3

        I found a solution (may be little amateuristic, but works). Generate an MFC class fown Shockwave Flash ActiveX. Override the PreTranslateMessage: BOOL CShockwaveFlash::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class if(pMsg->message == WM_RBUTTONDOWN) { //Wow wasn't right click dude! pMsg->message = WM_LBUTTONDOWN; } return CWnd::PreTranslateMessage(pMsg); } The job is done!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups