![]() |
CXTEditListBox New Button click |
Post Reply ![]() |
Author | |
SebasB ![]() Newbie ![]() Joined: 15 July 2005 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 07 October 2008 at 4:03pm |
Hi,
I have a derived class from CXTEditListBox. I would like to do a custom action when the user click on the New Button Icon and I don't want the list to become in edit mode.
I tried to use "GetEditGroup().SetOwner(this);" where this is my derived class from CXTEditListBox but I don't know which message map macro I should use... ON_CONTROL_REFLECT(LBN_XT_NEWITEM, OnNewItem) notify me but only when the user has finish editing the new entry and I want to be notify before.
Thanks
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
create class derived from CXTEditListBox and override
virtual void EditListItem(BOOL bNewItem);
method. |
|
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 |