![]() |
How to set a particular item ? |
Post Reply ![]() |
Author | |
Atul ![]() Newbie ![]() Joined: 02 May 2008 Location: India Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 22 January 2009 at 8:03am |
Hi,
I have a CXTPPropertyGridItemConstraints* pList. To this list, I am adding three constraints. pList->AddConstraint(_T("No Shadow")); pList->AddConstraint(_T("Hard Shadow")); pList->AddConstraint(_T("Soft Shadow")); Now, I want to have a functionality such that, when the user selects on Hard Shadow and closes the application, and again reopens it, the grid should show "Hard Shadow". I am storing the state of the variables into registry. Is there any way, by which this can be done ? Thanks in advance, Atul |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
??? so store and restore it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Atul ![]() Newbie ![]() Joined: 02 May 2008 Location: India Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
No, i just want it to highlight the appropriate current item.I have a way of storing and restoring
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
So what problem ? call pItem->SetValue to change current item.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
Hi;
I use this solution when creating the property grid item:
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
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 |