Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [SOLVED] Resizer and Mouse Wheel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Resizer and Mouse Wheel

 Post Reply Post Reply
Author
Message
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Resizer and Mouse Wheel
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.