Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Property Grid Sample.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Property Grid Sample.

 Post Reply Post Reply
Author
Message
Kevin6 View Drop Down
Groupie
Groupie


Joined: 13 May 2005
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kevin6 Quote  Post ReplyReply Direct Link To This Post Topic: Property Grid Sample.
    Posted: 13 May 2005 at 8:23am

Version V9.601

The property grid sample that ships with V9.601 contains some custom items, one of which is a spinbutton. The code mades the following call:

    m_wndSpin.SetRange(0, 100);

But if you run the sample, then the range is not observed.

Any ideas? (This is exactly the piece of code that I need!)

Regards,

Kevin.

 

Kevin.
Back to Top
Kevin6 View Drop Down
Groupie
Groupie


Joined: 13 May 2005
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kevin6 Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2005 at 10:07am

DUH! - Having a bad afternoon...

It's because OnDeltapos negates the SetRange.....

Fixed!

 

Kevin.
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.125 seconds.