|
-
Apr 17th, 2011, 12:51 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] RichTextBox - disable mouse scaling
Hello everyone.
Finishing off my control, but I now found a nasty problem. When the user holds the 'Ctrl' key and scrolls the mouse scrollwheel, the control is scaled. I do not want that, since it would make the Font size fail.
I previously made it reset the scale on Control up, but that is just not a very elegant way:
I do not want the text scaled at any time, not even while the user is scrolling and it resets afterwards.
I got to overriding the 'ProcessCmdKey' but no idea how to catch a scroll or zoom event.
Any way of disabling the RichTextBox scaling (or zooming) so it does not even occur? I have a control that inherits from the RichTextBox.
Last edited by bergerkiller; Apr 17th, 2011 at 12:57 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|