Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Changing text in CExtComboBox Collapse All
Subject Author Date
Emmanuel V. Jun 9, 2009 - 9:59 AM


Is there a way to update a text item in a CExtComboBox without destroy and create again all entries (with updated text)?


Technical Support Jun 9, 2009 - 12:38 PM

We came across the same problem in the list box common control in the IconEditor sample application. The list box items in this sample application are owner draw with a variable height. If you resize the main dialog window, the list box control in it is also resized and list box items change their height. This behavior of list box and combo box items is possible to implement only via re-inserting items. If the items in your combo box have persistent heights, then the only way to avoid reinserting of combo box items is to implement an owner draw combo box.