How to prevent the user from resizing DIBs in TRxRichEdit?

Please view the PAQ question http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21205364.html to see the problem details. Shortly, I am trying to create a chat client with graphic emoticons using TRxRichEdit Delphi component and DIB emoticons. Everything works fine enough but the user can resize emoticon images simply dragging their borders. How to prevent the user from this?

Many thanks
msa
LVL 5
msa2003Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Newt6398Commented:
just a wild suggestion as am not totally aware of your problem.

Could you not locate the mouse pointer on your form and create a Transparent TImage to the exact size & position of the culprit component and enumerate mouse clicks on the TImage to interact with your emoticon (Or whatever you call it). This way the user won't be able to move the component as interaction is via the TImage and not the component itself.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
msa2003Author Commented:
New6398: Thank you but I need the user to interact with the text in the Rich Edit, I just want to prevent the user from resizing embedded images.
0
Newt6398Commented:
Try the

OleFormObject.OnResize method.

Dunno how you'll implement it. Good luck
0
msa2003Author Commented:
There is no one acceptable answer so I give grade C to Newt6398. I'm sorry.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.