RBUTTONDOWN |
Post Reply |
Author | |
pwurm
Newbie Joined: 19 July 2004 Location: United Kingdom Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 19 July 2004 at 10:03am |
Hello, It appears that the CXTPPropertyGrid swallows most Window messages it receives and, in partilular, does not treat the RBUTTONDOWN. There is no virtual message available for this message, even though there are some for However, I would need a OnRButtonDown(UINT nFlags, CPoint point) to pop up a context menu. Any idea on how to do it (except as by abusing the existing messages, which would be inconsistent) ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
XTPWM_PROPERTYGRID_NOTIFY, XTP_PGN_RCLICK.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
pwurm
Newbie Joined: 19 July 2004 Location: United Kingdom Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hello, thanks for your answer.
How would I use XTPWM_PROPERTYGRID_NOTIFY and XTP_PGN_RCLICK ? It appears that XTP_PGN_RCLICK is not defined in my version of the propertyGrid, which I believe is v 8.60. I would like to have a message handler for the individual item, not the grid. Therefore I will add virtual OnRButtonDown to the PropertyGridItem and to the View. I hope this works. peter Edited by pwurm |
|
pwurm
Newbie Joined: 19 July 2004 Location: United Kingdom Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hello Oleg, I was hoping you could tell me how to use XTPWM_PROPERTYGRID_NOTIFY and XTP_PGN_RCLICK as you suggested. I can intercept the XTPWM_PROPERTYGRID_NOTIFY in the parent window; however, XTP_PGN_RCLICK does not exist. What did you mean? Thanks for a response, peter
|
|
nicolnie
Newbie Joined: 19 September 2004 Location: China Status: Offline Points: 12 |
Post Options
Thanks(0)
|
I use xtreme toolkit pro 8.70, it seems that XTP_PGN_RCLICK is not defined in the version. But int the manual, XTPWM_PROPERTYGRID_NOTIFY message can only handle follow actions: XTP_PGN_SORTORDER_CHANGED,XTP_PGN_SELECTION_CHANGED ,XTP_PGN_ITEMVALUE_CHANGED ,XTP_PGN_EDIT_CHANGED. The other actions, such as XTP_PGN_DBLCLICK, XTP_PGN_DRAWITEM, XTP_PGN_INPLACEBUTTONDOWN, are not be supported. So, if I want to do something according the user's action on propertygrid item, how can I do?
|
|
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 |