Signal to CXTPPropertyGrid to end editing |
Post Reply |
Author | |
DLewanda
Newbie Joined: 10 September 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 10 September 2008 at 5:51pm |
I am using a CXTPPropertyGrid in conjunction with a CTreeCtrl to display properties about items in the tree. A few of the grid items use a combo (drop-down) box along with an editable field. If the user edits the field, but clicks on another node in the tree without hitting enter, the data is not saved for the previous node unless the user presses Enter (presumably to signal that the value has changed). I would like programmatically send the same signal on the tree selection, to avoid requiring the user to click enter before navigating to another node in the tree. Is this possible? If so, please let me know.
Thanks in advance, as I have been struggling with this for days! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
How do you catch value changin event ? don't you recevie this event if you select tree ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DLewanda
Newbie Joined: 10 September 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
I have registered a callback for the XTPWM_PROPERTYGRID_NOTIFY message that I catch the XTP_PGN_ITEMVALUE_CHANGED event. In the case of an editable combo box item, however, I don't believe the XTP_PGN_ITEMVALUE_CHANGED event occurs if editing the combo box edit field when the property grid loses focus. Am I missing something?
|
|
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 |