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#
  4. how to receive html element events

how to receive html element events

Scheduled Pinned Locked Moved C#
questioncsharphtmltutorial
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.
  • B Offline
    B Offline
    benzite
    wrote on last edited by
    #1

    Using VC,the element events can be get by the following code,how can I get the html element events using c#? STDMETHODIMP CEventSink::Invoke(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pdispparams, VARIANT* pvarResult, EXCEPINFO* pexcepinfo, UINT* puArgErr) { switch (dispidMember) { case DISPID_HTMLELEMENTEVENTS2_ONCLICK: OnClick(); break; default: break; } return S_OK; } Thanks.;)

    J 1 Reply Last reply
    0
    • B benzite

      Using VC,the element events can be get by the following code,how can I get the html element events using c#? STDMETHODIMP CEventSink::Invoke(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pdispparams, VARIANT* pvarResult, EXCEPINFO* pexcepinfo, UINT* puArgErr) { switch (dispidMember) { case DISPID_HTMLELEMENTEVENTS2_ONCLICK: OnClick(); break; default: break; } return S_OK; } Thanks.;)

      J Offline
      J Offline
      Jose Fco Bonnin
      wrote on last edited by
      #2

      Take a look to this article http://www.devhood.com/tutorials/tutorial\_details.aspx?tutorial\_id=312

      B 1 Reply Last reply
      0
      • J Jose Fco Bonnin

        Take a look to this article http://www.devhood.com/tutorials/tutorial\_details.aspx?tutorial\_id=312

        B Offline
        B Offline
        benzite
        wrote on last edited by
        #3

        Thanks a lot.:)

        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