Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTEditListBox New Button click
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTEditListBox New Button click

 Post Reply Post Reply
Author
Message
SebasB View Drop Down
Newbie
Newbie


Joined: 15 July 2005
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote SebasB Quote  Post ReplyReply Direct Link To This Post Topic: CXTEditListBox New Button click
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.