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. Tab key and delete key is not working in win32 browser control

Tab key and delete key is not working in win32 browser control

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • V Offline
    V Offline
    venkatesh52867
    wrote on last edited by
    #1

    Tab key and delete key is not working in browser control

    L 1 Reply Last reply
    0
    • V venkatesh52867

      Tab key and delete key is not working in browser control

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Most interesting; do you have a question?

      Use the best guess

      V 1 Reply Last reply
      0
      • L Lost User

        Most interesting; do you have a question?

        Use the best guess

        V Offline
        V Offline
        venkatesh52867
        wrote on last edited by
        #3

        yes i created one web browser control in win32 ,it is working fine but tab key and delete key is not working. i implemented IInputObject interface but HRESULT HasFocusIO();HRESULT TranslateAcceleratorIO( LPMSG lpMsg); HRESULT UIActivateIO( BOOL fActivate, MSG *pMsg); these methods not calling please check my class // AX.H #include #include #include // messages #define AX_QUERYINTERFACE (WM_USER + 1) #define AX_INPLACE (WM_USER + 2) #define AX_GETAXINTERFACE (WM_USER + 3) #define AX_CONNECTOBJECT (WM_USER + 4) #define AX_DISCONNECTOBJECT (WM_USER + 5) #define AX_SETDATAADVISE (WM_USER + 6) #define AX_DOVERB (WM_USER + 7) #ifndef GWL_USERDATA #define GWL_USERDATA (-21) #endif #ifndef GWL_HINSTANCE #define GWL_HINSTANCE (-6) #endif // Registration function ATOM AXRegister(); // Class AXClientSide class AXClientSite : public IOleClientSite, public IDispatch, public IAdviseSink, public IOleInPlaceSite, public IOleInPlaceFrame, /* public IDocHostUIHandler,*/ /*public IOleControlSite,*/ /*public IOleInPlaceActiveObject,*/ public IInputObject ///*public IDocHostUIHandler2, //public IDocHostShowUI*/ { protected: int refNum; public: HWND Window; HWND Parent; HMENU Menu; bool InPlace; bool ExternalPlace; bool CalledCanInPlace; class AX* ax; // MyClientSite Methods AXClientSite(); virtual ~AXClientSite(); STDMETHODIMP_(void) OnDataChange2(FORMATETC*); // IUnknown methods STDMETHODIMP QueryInterface(REFIID iid,void**ppvObject); STDMETHODIMP_(ULONG) AddRef(); STDMETHODIMP_(ULONG) Release(); // IOleClientSite methods STDMETHODIMP SaveObject(); STDMETHODIMP GetMoniker(DWORD dwA,DWORD dwW,IMoniker**pm); STDMETHODIMP GetContainer(IOleContainer**pc); STDMETHODIMP ShowObject(); STDMETHODIMP OnShowWindow(BOOL f); STDMETHODIMP RequestNewObjectLayout(); // IAdviseSink methods STDMETHODIMP_(void) OnDataChange(FORMATETC *pFormatEtc,STGMEDIUM *pStgmed); STDMETHODIMP_(void) OnViewChange(DWORD dwAspect,LONG lIndex); STDMETHODIMP_(void) OnRename(IMoniker * pmk); STDMETHODIMP_(void) OnSave(); STDMETHODIMP_(void) OnClose(); // IOleInPlaceSite methods STDMETHODIMP GetWindow(HWND *p); STDMETHODIMP ContextSensitiveHelp(BOOL); STDMETHODIMP CanInPlaceActivate(); STDMETHODIMP OnInPlaceActivate(); STDMETHODIMP OnUIActivate(); STDMETHODIMP G

        L 1 Reply Last reply
        0
        • V venkatesh52867

          yes i created one web browser control in win32 ,it is working fine but tab key and delete key is not working. i implemented IInputObject interface but HRESULT HasFocusIO();HRESULT TranslateAcceleratorIO( LPMSG lpMsg); HRESULT UIActivateIO( BOOL fActivate, MSG *pMsg); these methods not calling please check my class // AX.H #include #include #include // messages #define AX_QUERYINTERFACE (WM_USER + 1) #define AX_INPLACE (WM_USER + 2) #define AX_GETAXINTERFACE (WM_USER + 3) #define AX_CONNECTOBJECT (WM_USER + 4) #define AX_DISCONNECTOBJECT (WM_USER + 5) #define AX_SETDATAADVISE (WM_USER + 6) #define AX_DOVERB (WM_USER + 7) #ifndef GWL_USERDATA #define GWL_USERDATA (-21) #endif #ifndef GWL_HINSTANCE #define GWL_HINSTANCE (-6) #endif // Registration function ATOM AXRegister(); // Class AXClientSide class AXClientSite : public IOleClientSite, public IDispatch, public IAdviseSink, public IOleInPlaceSite, public IOleInPlaceFrame, /* public IDocHostUIHandler,*/ /*public IOleControlSite,*/ /*public IOleInPlaceActiveObject,*/ public IInputObject ///*public IDocHostUIHandler2, //public IDocHostShowUI*/ { protected: int refNum; public: HWND Window; HWND Parent; HMENU Menu; bool InPlace; bool ExternalPlace; bool CalledCanInPlace; class AX* ax; // MyClientSite Methods AXClientSite(); virtual ~AXClientSite(); STDMETHODIMP_(void) OnDataChange2(FORMATETC*); // IUnknown methods STDMETHODIMP QueryInterface(REFIID iid,void**ppvObject); STDMETHODIMP_(ULONG) AddRef(); STDMETHODIMP_(ULONG) Release(); // IOleClientSite methods STDMETHODIMP SaveObject(); STDMETHODIMP GetMoniker(DWORD dwA,DWORD dwW,IMoniker**pm); STDMETHODIMP GetContainer(IOleContainer**pc); STDMETHODIMP ShowObject(); STDMETHODIMP OnShowWindow(BOOL f); STDMETHODIMP RequestNewObjectLayout(); // IAdviseSink methods STDMETHODIMP_(void) OnDataChange(FORMATETC *pFormatEtc,STGMEDIUM *pStgmed); STDMETHODIMP_(void) OnViewChange(DWORD dwAspect,LONG lIndex); STDMETHODIMP_(void) OnRename(IMoniker * pmk); STDMETHODIMP_(void) OnSave(); STDMETHODIMP_(void) OnClose(); // IOleInPlaceSite methods STDMETHODIMP GetWindow(HWND *p); STDMETHODIMP ContextSensitiveHelp(BOOL); STDMETHODIMP CanInPlaceActivate(); STDMETHODIMP OnInPlaceActivate(); STDMETHODIMP OnUIActivate(); STDMETHODIMP G

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          venkatesh52867 wrote:

          these methods not calling please check my class

          Please do not do this, we cannot go through something like the above trying to figure out what is happening. Use your debugger to narrow down the problem area and post some more specific detail.

          Use the best guess

          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