![]() |
Mouse Wheel??? |
Post Reply ![]() |
Author | |
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
You're my favorite user here. You tend to find all possible bugs :D
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
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/
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |