![]() |
CXTPControlColorSelector and Prop Grid |
Post Reply
|
| Author | |
esc67
Newbie
Joined: 09 June 2005 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPControlColorSelector and Prop GridPosted: 17 February 2007 at 7:54pm |
|
A year ago I laboriously created a custom version of CXTPControlColorSelector so that I can display my own palette of colors from a commandbar. Now I would like to present the same selector from a property grid item.
The problem is that the Property Grid sample uses an entirely different color picker class: CXTColorPopup. It actually looks more customizable than CXTPControlColorSelector, but I'd rather not re-implement another color picker and then maintain them both.
Is there any way to pop up a CXTPControl from a PropertyGrid item? Can my CXTPControlColorSelector be made to work like a drop-down menu from a grid's color item?
|
|
![]() |
|
esc67
Newbie
Joined: 09 June 2005 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2007 at 8:18pm |
|
Ah! I found CXTPCommandBars::TrackPopupMenu
That seems to work:
Is this the basic idea?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 February 2007 at 2:24am |
|
Hi,
Yeap, it looks very right.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |