Results 1 to 4 of 4

Thread: [RESOLVED] MouseWheel scroll inside Rich Text Box with scrollbars disabled

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2016
    Posts
    47

    Resolved [RESOLVED] MouseWheel scroll inside Rich Text Box with scrollbars disabled

    Ok so i have this Rich Text Box with disabled scroll bars. I've added a module to "catch" Mouse Wheel events. In order to scroll up/down inside the control i added the following code in Form_Load:

    Code:
    'Mouse Wheel Rotated Up
    If Count > 0 Then
    SendKeys  "{UP}"
    'Mouse Wheel Rotated Down
    Else
    SendKeys  "{DOWN}"
    End If
    Simple, but it doesn't work Error: Premission Denied in SendKeys. Why is this happening ? Thanks.
    Last edited by Edelweise; Mar 12th, 2016 at 04:14 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width