I have searhed high and low for a solution to this problem. I have no problem adding an Bitmap image into the richtextbox. The problem is that I don't want it to have the resize option to it. I want that one image to be SELECTED when I click on it, just like in most messengers, and to throw an onclick event. Any help in this area would be greatly appreciated.
views:
220answers:
1
Q:
Remove the ability to resize an image pasted into a richtextbox and add an event to that image. C#
A:
Here is a question about inserting an image manually building the RTF code. I suspect for any sort of custom functionality you will have to build the RTF for it as well. http://stackoverflow.com/questions/542850/how-can-i-insert-an-image-into-a-richtextbox
Here is the RTF Spec documentation:
http://msdn.microsoft.com/en-us/library/aa140277%28office.10%29.aspx
OG
2010-03-05 22:27:58