PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
VB6 - MouseWheel with Any Control (originally just MSFlexGrid Scrolling)-VBForums
Results 1 to 40 of 64

Thread: VB6 - MouseWheel with Any Control (originally just MSFlexGrid Scrolling)

Threaded View

  1. #1

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    VB6 - MouseWheel with Any Control (originally just MSFlexGrid Scrolling)

    These example projects demonstrate enabling the MouseWheel for any control (multiple controls / multiple forms).

    Examples

    Enabling MouseWheel Support with any control - attached to post #1
    14/03/06: Slight correction to code
    20/04/06: Minor modification to code (more info: post #9)
    12/01/07: Nested Controls example created allowing the mousewheel to work with controls nested to any depth - incorporates fixes from other posts (1, 2) - attached to post #1

    Scrolling the MSFlexGrid that the mouse is over - attached to post #2
    21/02/06: Small bug fix

    Scrolling if the MSFlexGrid is the active control - attached in post #13 of original thread


    The hooking code was modified from here.
    Original thread, with suggestions from other members.

    Note:
    These codes use subclassing which can cause your IDE to crash if your code is incorrectly ended (e.g. via the stop button).
    See here for adding in code to detect if your program is running in the IDE


    Attached Files Attached Files

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width