Print Page | Close Window

Default iconf or CComboboxEx

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=16465
Printed Date: 06 May 2024 at 8:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Default iconf or CComboboxEx
Posted By: mgampi
Subject: Default iconf or CComboboxEx
Date Posted: 17 March 2010 at 5:33am
Hi;
I'm using a CComboboxEx with Style CBS_DROPDOWN, so I'm able to edit the content. But whenever I edit the content and no corresponding item is found in the listbox part of the control, no icon is displayed to the left of the edit control.
Whenever a custom entry is made in the edit control, I want to set a 'default' image to be displayed.
Does anyone know how to achieve this?



-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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