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