Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Mouse Wheel???
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mouse Wheel???

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: Mouse Wheel???
    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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
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: 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.