Print Page | Close Window

CXTEditListBox New Button click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12363
Printed Date: 29 March 2024 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTEditListBox New Button click
Posted By: SebasB
Subject: CXTEditListBox New Button click
Date 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



Replies:
Posted By: Oleg
Date Posted: 08 October 2008 at 1:39am
Hi,
create class derived from CXTEditListBox and override
virtual void EditListItem(BOOL bNewItem);
method.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net