Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Adding number to constraints list
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding number to constraints list

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


Joined: 14 July 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote csunita Quote  Post ReplyReply Direct Link To This Post Topic: Adding number to constraints list
    Posted: 25 July 2008 at 5:26pm
Hi,
 
I would like to add integers, not strings, in the combo box in Property Grid. So if I want to use the AddConstraint() method to add numbers to the list for a CXTPPropertyGridItemNumber, how would I do that?
 
Thanks.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2008 at 11:04am
Hi;
convert the numbers to strings first and then add them with AddContraint()...
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.