Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - mouse wheel in propery grid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

mouse wheel in propery grid

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


Joined: 04 September 2007
Status: Offline
Points: 122
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Topic: mouse wheel in propery grid
    Posted: 28 June 2008 at 5:13am
Hello,
 
I have a property grid with a spin button for changing a numerical value. I need to be able to change the value with a mouse wheel. How can I do that?
 
Thank you
Vaclav
 
Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2008 at 7:17am
Hello Vaclav,

from the release notes of version ToolkitPro 12.0.2: "Mouse Wheel support added to change Constraint values and Spin Numbers".
The change of the constraint values is working for me but there is no example for the spin numbers.
So Oleg, can you please give us an example on how to change the spin numbers with the mouse wheel?

Bye
   Holger

Back to Top
vjedlicka View Drop Down
Senior Member
Senior Member


Joined: 04 September 2007
Status: Offline
Points: 122
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2008 at 3:17am
Hi Holger,

Thank you for the info! I am going to check.

Vaclav
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11
Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2008 at 5:15am
Hello Vaclav,

I found it:-) Check the PropertyGrid sample and then the section "Standard Buttons". There you'll  find a button with slider and spin. And that spinner supports the mouse wheel. CXTPPropertyGridItem::AddSpinButton is the corresponding method to create it.

Bye
   Holger

Back to Top
vjedlicka View Drop Down
Senior Member
Senior Member


Joined: 04 September 2007
Status: Offline
Points: 122
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2008 at 4:08pm
Yes, here it works too
Thanks!
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11
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.189 seconds.