![]() |
CXTPPropertyGridView Set/Kill focus event |
Post Reply ![]() |
Author | |
Sergey ![]() Newbie ![]() Joined: 15 November 2004 Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() Posted: 13 March 2005 at 4:49am |
How could I get notification on CXTPPropertyGridView Set/Kill focus events? Thanks. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
9.60 has virtual CXTPPropertyGridView* CXTPPropertyGrid::CreateView();
so you can override CXTPPropertyGrid, CXTPPropertyGridView and add ON_WM_SETFOCUS() |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Sergey ![]() Newbie ![]() Joined: 15 November 2004 Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg, Thank you for reply. I created class CXTPPropertyGridEx : public CXTPPropertyGrid and added virtual CXTPPropertyGridView* CreateView() to it. The method CreateView is called from CXTPPropertyGrid construcor. At this point my CXTPPropertyGridEx object was not created yet. That is why the method CXTPPropertyGrid::CreateView() is called rather than CXTPPropertyGridEx::CreateView(). So I can not create my view and catch events. I need notification on CXTPPropertyGridView Set/Kill focus events. Thank you. Sergey. |
|
![]() |
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 |