Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ComboBox MouseWheel Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBox MouseWheel Problem

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: ComboBox MouseWheel Problem
    Posted: 19 September 2008 at 9:39am
I attached a small sample that demonstrates the problem using the MouseWhell together with the ComboBox. When I use the click event of the ComboBox to add some data of example, this click event fires also, if I use the MouseWheel. The original VB ComoBox doesn’t has this problem.
 
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
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: 22 September 2008 at 5:55am
Hi,
 
Don't you think VB's combo work wrong ? 
if your user select VB combo and press "Down"/"Up" there will be Click event, but why not for MouseWheel ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2008 at 6:42am

Hello Oleg, thanks for your comment. The XTreemSuite Combobox is 100% compatible to the VB ComboBox. You can see in my sample, that I subclass the VB ComboBox because the VB ComboBox still originates from the times, when there were still no Mouse wheel!

 
And so the click event always fires, when a user uses the Mouse wheel. I have only the request that their it makes possible also somehow to prevent this behavior.
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2008 at 2:05pm
Originally posted by oleg oleg wrote:

Hi,
 
Don't you think VB's combo work wrong ? 
if your user select VB combo and press "Down"/"Up" there will be Click event, but why not for MouseWheel ?
 
Hi,
 
I agree with you Oleg
 
I never looked at it this way. But CJ Combobox at least works the same way all the time. Use mousewheel with VB Combobox and click event won't be fired anymore when using up/down key (expanded list) If you select an item again and using up/down key it will fire click event (with expanded list).
 
At least CJ combo behaviour is more consequent as MS combo  
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2008 at 1:37am
You are right, but then I need a MouseDown or MouseUp event !
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
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.188 seconds.