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. need event arguments for mshtml.HTMLElementEvents2_onclickEventHandler

need event arguments for mshtml.HTMLElementEvents2_onclickEventHandler

Scheduled Pinned Locked Moved C#
htmlhelp
3 Posts 3 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
    balakpn
    wrote on last edited by
    #1

    hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);

    with regards Balagurunathan.B

    J S 2 Replies Last reply
    0
    • B balakpn

      hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);

      with regards Balagurunathan.B

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      If you're using Visual Studio, you can just click on the delegate name, hit the F12 key, and it will show you the arguments. You can also use a class inspector tool like the free Lutz Reflector[^] to show you this information.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: What this world needs... (Video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      1 Reply Last reply
      0
      • B balakpn

        hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);

        with regards Balagurunathan.B

        S Offline
        S Offline
        Skippums
        wrote on last edited by
        #3

        What I usually do is when adding the event handler, I just push tab twice, to get the following effect...

        SomeObject.SomeEvent += // push 'TAB' to accept the delegate and method VS assigns
        SomeObject.SomeEvent += SomeEventHandler(SomeMethod); // push 'TAB' again when VS highlights
        // 'SomeMethod', and the signiture for that method will be created for you.
        private void SomeMethod(...) {

        }

        Hope this helps in the future,

        Sounds like somebody's got a case of the Mondays -Jeff

        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