Print Page | Close Window

CXTEditListBox - How to remove the Button

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=1014
Printed Date: 25 December 2024 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTEditListBox - How to remove the Button
Posted By: AliRafiee
Subject: CXTEditListBox - How to remove the Button
Date Posted: 03 August 2004 at 3:32pm

Does anyone know how to remove (hide) the add and remove buttons from a CXTEditListBox control.  I want the up and down buttons but don't want to allow editing of the items.

Thanks

Ali




Replies:
Posted By: ICBM
Date Posted: 03 August 2004 at 6:59pm
I didn't remove them, I disabled them. I'm guessing that ShowWindow(SW_HIDE) might have the effect you want ?

m_ListBoxCtrl.GetEditGroup().GetUpButton().EnableWindow(FA LSE);






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