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. ActiveX control in C#.Net

ActiveX control in C#.Net

Scheduled Pinned Locked Moved C#
csharpcomtutorial
6 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.
  • F Offline
    F Offline
    free_soul424
    wrote on last edited by
    #1

    I want to develop a ActiveX control in c#.Net, that can handle mouse events, like mouse down, enter, leave, drag and drop events. plz guide me, I will be thank you..

    C 1 Reply Last reply
    0
    • F free_soul424

      I want to develop a ActiveX control in c#.Net, that can handle mouse events, like mouse down, enter, leave, drag and drop events. plz guide me, I will be thank you..

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Why do you want to use ActiveX ? What info did you find on the web ? What further info do you need ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      F 1 Reply Last reply
      0
      • C Christian Graus

        Why do you want to use ActiveX ? What info did you find on the web ? What further info do you need ?

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        F Offline
        F Offline
        free_soul424
        wrote on last edited by
        #3

        Thanks for u r reply, actually I want to draw almost 1 to 2 million rectangles (nodes) on the screen, for this purpose I have checked many controls but they don’t support such ability. Now I have decided to use C# drawing library. For this purpose I need a light weight object that can be drawn to the screen and manage mouse handling as well. I think ActiveX can help me in this regards. Plz guide me or if u knows any batter solution plz let me know. Thanks a lot.

        C 1 Reply Last reply
        0
        • F free_soul424

          Thanks for u r reply, actually I want to draw almost 1 to 2 million rectangles (nodes) on the screen, for this purpose I have checked many controls but they don’t support such ability. Now I have decided to use C# drawing library. For this purpose I need a light weight object that can be drawn to the screen and manage mouse handling as well. I think ActiveX can help me in this regards. Plz guide me or if u knows any batter solution plz let me know. Thanks a lot.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          ActiveX is a worthless layer of complexity. 1-2 million nodes is a lot, you will have to be careful to handle it correctly. How do you expect to display that many nodes ? Will your control be scrollable ? Just writing a C# control will give you as much power as C# is going to give you, without the hassle of a ( potentially useless ) ActiveX layer.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          F 1 Reply Last reply
          0
          • C Christian Graus

            ActiveX is a worthless layer of complexity. 1-2 million nodes is a lot, you will have to be careful to handle it correctly. How do you expect to display that many nodes ? Will your control be scrollable ? Just writing a C# control will give you as much power as C# is going to give you, without the hassle of a ( potentially useless ) ActiveX layer.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

            F Offline
            F Offline
            free_soul424
            wrote on last edited by
            #5

            Actually I want to give a full picture of entire business at one quick look. So I have to draw the entire nodes. And yea, my control will be scrollable. If you have any batter idea to perform such a scenario plz let me know. In my point of view I should go towards the c# library and handle all the mouse events by myself. What you suggest. Thank you.

            C 1 Reply Last reply
            0
            • F free_soul424

              Actually I want to give a full picture of entire business at one quick look. So I have to draw the entire nodes. And yea, my control will be scrollable. If you have any batter idea to perform such a scenario plz let me know. In my point of view I should go towards the c# library and handle all the mouse events by myself. What you suggest. Thank you.

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              faheem424 wrote:

              In my point of view I should go towards the c# library and handle all the mouse events by myself. What you suggest. Thank you.

              Yes, that seems reasonable. The only thing that you don't need, is ActiveX.

              Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

              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