?
Solved

How do I eliminate duplicate combo box strings

Posted on 2000-03-25
1
Medium Priority
?
193 Views
Last Modified: 2013-11-20
I need to clear everything inside the combo box aswell as eliminate duplicate entries.

thanks neil.

0
Comment
Question by:neilbharadia
1 Comment
 
LVL 8

Accepted Solution

by:
Vinayak Kumbar earned 400 total points
ID: 2657328
Hi,

To Clear everything Just use
ResetContents() method of CComboBox and not to allow the duplicate entries, check the entries with the FindString() function.

Hope this helps.

VinExpert
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question