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

CXTEditListBox - How to remove the Button

 Post Reply Post Reply
Author
Message
AliRafiee View Drop Down
Groupie
Groupie


Joined: 06 May 2004
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote AliRafiee Quote  Post ReplyReply Direct Link To This Post Topic: CXTEditListBox - How to remove the Button
    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

Back to Top
ICBM View Drop Down
Groupie
Groupie


Joined: 15 January 2004
Location: New Zealand
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ICBM Quote  Post ReplyReply Direct Link To This Post 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);



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.156 seconds.