![]() |
OnChar - CXTPPropertyGridItem |
Post Reply ![]() |
Author | |
Kevin6 ![]() Groupie ![]() Joined: 13 May 2005 Location: United Kingdom Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() Posted: 29 September 2005 at 6:13am |
HELP... Does OnChar actually get called for CXTPPropertyGridItem???- I am having trouble making it happen. My situation is that I have a class derived from CXTPPropertyGridItem called CMyPropertyGridItem. I have implemented the virtual function OnChar and I expect it to be called every time I press keys in the keyboard when the PropertyGridItem has focus. It doesn't do anything - can someone post an example of this working - OR at least confirm that its broken ? Is there a work around? Richard |
|
Kevin.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, OnChar is called when _View_ is focused and user press key. You must override CXTPPropertyGridInplaceEdit to catch its WM_CHAR. See our sample for custom CXTPPropertyGridInplaceEdit |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Kevin6 ![]() Groupie ![]() Joined: 13 May 2005 Location: United Kingdom Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() |
Thank you Oleg - you are very helpful. Richard |
|
Kevin.
|
|
![]() |
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 |