Print Page | Close Window

Mouse Wheel???

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13547
Printed Date: 23 June 2025 at 2:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Mouse Wheel???
Posted By: terrym
Subject: Mouse Wheel???
Date Posted: 02 March 2009 at 5:50am
I have used XTP to create the below Office 2007 style download dialog, however if we use the mouse wheel it does not scroll up/down???  Any ideas please.
 
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: znakeeye
Date Posted: 02 March 2009 at 11:44am
You're my favorite user here. You tend to find all possible bugs :D

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: terrym
Date Posted: 02 March 2009 at 11:49am
Originally posted by znakeeye znakeeye wrote:

You're my favorite user here. You tend to find all possible bugs :D
 
I've tried everything lol and cant work out why mouse aint working here, maybe I aint setting focus correctly who knows :( hopefully oleg will
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: znakeeye
Date Posted: 02 March 2009 at 5:38pm
Perhaps you need to handle WM_MOUSEWHEEL? It's quite trivial, actually. Look in the XTP source, and you will find many examples.

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 03 March 2009 at 12:39am
Its not that easy :( 
 
Its Toolbar + Gallery as I understand ? You need override Toolbar then , catch MouseDown and call SetFocus() to grab focus,
 
 


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


Posted By: terrym
Date Posted: 03 March 2009 at 5:15am
Originally posted by znakeeye znakeeye wrote:

Perhaps you need to handle WM_MOUSEWHEEL? It's quite trivial, actually. Look in the XTP source, and you will find many examples.
 
Thanks, but tried all this before.  However Oleg has now given a solution :) which we will now try
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: terrym
Date Posted: 03 March 2009 at 5:17am
Originally posted by oleg oleg wrote:

Its not that easy :( 
 
Its Toolbar + Gallery as I understand ? You need override Toolbar then , catch MouseDown and call SetFocus() to grab focus,
 
 
Cheers :) as tried all like said above before, but will now try your solution as yes you are correct we use a Toolbar + 2 Galleries (1 for bookmarks on left, and 1 for images on right).
 
How would I make sure I grab focus to correct gallery I am hovering over please
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



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