Print Page | Close Window

[SOLVED] Resizer and Mouse Wheel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=14002
Printed Date: 04 July 2024 at 8:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Resizer and Mouse Wheel
Posted By: DaveB
Subject: [SOLVED] Resizer and Mouse Wheel
Date Posted: 14 April 2009 at 12:26am
The mouse wheel doesn't seem to scroll the resizer control contents when there is a scrollbar showing.  Is there a way to get this working?  (It works fine in your listbox control...)
 
DaveB


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 14 April 2009 at 12:45am
Hi,
 
Add
 
Private Sub ResizerSample_MouseWheel(ByVal zDelta As Integer)
    ResizerSample.VScrollPosition = ResizerSample.VScrollPosition + IIf(zDelta < 0, 100, -100)
End Sub
 
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: DaveB
Date Posted: 14 April 2009 at 1:19am
I added the code but it doesn't work.  I put a breakpoint in the Resizer1_MouseWheel subroutine but the event doesn't get fired at all when I roll the mouse wheel, even after clicking on the control.
 
I am using a Microsoft Wireless Laser Mouse 6000.
 
Any other ideas?
 
DaveB


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: DaveB
Date Posted: 15 April 2009 at 3:36am
Can anyone else get the Resizer contents to scroll using the mouse wheel?

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: DaveB
Date Posted: 17 April 2009 at 2:28pm
I does work.  I just hadn't set focus to a control within the Resizer.

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net