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. ATL / WTL / STL
  4. Backspace problem in MFC ActiveX in IE

Backspace problem in MFC ActiveX in IE

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comhelptutorial
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.
  • M Offline
    M Offline
    Muhammad Azam
    wrote on last edited by
    #1

    Hi Gurus, I have an ActiveX control that has an Edit control inside. I have embeded this control in IE. the problem is when i try to delete some text in Edit control using backspace key the browser takes me to the previous page instead of Erasing the text in Edit control. Does any one know how to deal with this situation please its urgent thanks Muhammad Azam

    S 1 Reply Last reply
    0
    • M Muhammad Azam

      Hi Gurus, I have an ActiveX control that has an Edit control inside. I have embeded this control in IE. the problem is when i try to delete some text in Edit control using backspace key the browser takes me to the previous page instead of Erasing the text in Edit control. Does any one know how to deal with this situation please its urgent thanks Muhammad Azam

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      Try handling the keystroke in the IOleInPlaceActiveObject::TranslateAccelerator method of your control. To test if this is the problem make an implementation that just returns S_OK and see if this stops IE from processing the keystroke when your control is active (it will...). I'm not sure how you've implemented your control (ATL, MFC, straight Win32, etc) so I can't be more specific. Steve

      M 1 Reply Last reply
      0
      • S Stephen Hewitt

        Try handling the keystroke in the IOleInPlaceActiveObject::TranslateAccelerator method of your control. To test if this is the problem make an implementation that just returns S_OK and see if this stops IE from processing the keystroke when your control is active (it will...). I'm not sure how you've implemented your control (ATL, MFC, straight Win32, etc) so I can't be more specific. Steve

        M Offline
        M Offline
        Muhammad Azam
        wrote on last edited by
        #3

        thanks steve i will evaluate the posibility that u suggested Azam

        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