Results 1 to 10 of 10

Thread: [VB6] - Mouse whell horizontal not working:(

Threaded View

  1. #10
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [VB6] - Mouse whell horizontal not working:(

    How? Through the window procedure? Without having those styles, I don't think you can because the messages won't be sent to the window.

    I don't know if it is the answer, but you may want to experiment with a MouseHook. Look at SetWindowsHookEx and WH_MOUSE. Here is an example of the Hook procedure, notice the wParam value. If it contains WM_HScroll and/or WM_VScroll, then you have your answer.

    Recommendation: Experiment in a new project.

    Edited: After second thougths; that probably won't work either. WM_HSCroll/VScroll are not mouse messages, they are scrollbar messages.
    Last edited by LaVolpe; Feb 7th, 2010 at 01:51 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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