Print Page | Close Window

Browse button of CXTEditListBox

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=89
Printed Date: 16 May 2024 at 8:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Browse button of CXTEditListBox
Posted By: MosheY
Subject: Browse button of CXTEditListBox
Date Posted: 06 July 2003 at 11:15pm

Hi,

I need to use the browse button on the edit listbox for another dialog and no for the files/folders dialog.

How can i handle it?

I've inherited my own edlt list box, and added a BN_CLICKED notification handler for XT_IDC_BTN_BROWSE. didn't work.

HELP!



-------------
Regards,
Moshe Y.



Replies:
Posted By: MosheY
Date Posted: 07 July 2003 at 12:44am

Ok, i succeeded but in an ugly way - from the WM_LBUTTONUP handler of the edit list box i took the mouse position and asked wether the window from that position has the id of the button...

Is there a better way?



-------------
Regards,
Moshe Y.


Posted By: kstowell
Date Posted: 02 November 2003 at 3:06pm

Hello,

You can derive a class from CXTEditListBox and make EditListItem virtual.  Once you have done that you can define your own CXTITemEdit derived object to handle this event.

Cheers,
Codejock Support




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