Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DLL size Pin
jonny515-Jan-07 11:53
jonny515-Jan-07 11:53 
Questionneed help on VC++ 6 IDE ( begineer) Pin
Vikram.....15-Jan-07 2:02
Vikram.....15-Jan-07 2:02 
GeneralRe: need help on VC++ 6 IDE ( begineer) Pin
prasad_som15-Jan-07 2:27
prasad_som15-Jan-07 2:27 
GeneralRe: need help on VC++ 6 IDE ( begineer) Pin
Vikram.....15-Jan-07 2:34
Vikram.....15-Jan-07 2:34 
QuestionRunning Applcation Setup on PC without .Net even 'vcredist_x86.exe' installed Pin
Andy Rama15-Jan-07 1:43
Andy Rama15-Jan-07 1:43 
AnswerRe: Running Applcation Setup on PC without .Net even 'vcredist_x86.exe' installed Pin
PJ Arends15-Jan-07 9:34
professionalPJ Arends15-Jan-07 9:34 
QuestionMS VS Project from makefile...? Pin
Gadjuka15-Jan-07 0:47
Gadjuka15-Jan-07 0:47 
QuestionAuto Complete Combo box Pin
misha_grewal15-Jan-07 0:06
misha_grewal15-Jan-07 0:06 
Hello all -

I need to implement a full featured auto complete combo box just like what it is in internet explorer. Thanks to a lot of help available on codeproject, I implemented the basic features. But there is one bug which is driving me mad.

The details:
I have handled CBN_EDITCHANGE message here. and I let it be handled by the parent also using the ON_CONTROL_REFLECT_EX method.

The idea is that I store the original combo entries in a vector. When user types in something, on edit change, I get the string, if it matches, I modify the comob entries with the search entries found (As i already have the original combo entries with me)
and then call the drop down method to show the search strings.

When user closes the dropdown or expands it, I restore the original state of the combo box. similarly when the search string is empty, i restore the state again.

Everything works fine, but when the dropdown is closed, and I try to enter a string, the combo box selects the first matched string in the combo (Which I do not want)
Whereas if I expand the combo box, the string is not selected.

I Guess this is too much. But still I hope someone has the answer.

Thanks in advance

Be the change you wish to see...
AnswerRe: Auto Complete Combo box Pin
mark novak15-Jan-07 2:39
mark novak15-Jan-07 2:39 
QuestionHow to get handle to an application? Pin
pri_skit14-Jan-07 23:00
pri_skit14-Jan-07 23:00 
AnswerRe: How to get handle to an application? Pin
iohanson14-Jan-07 23:20
iohanson14-Jan-07 23:20 
GeneralRe: How to get handle to an application? Pin
pri_skit15-Jan-07 21:08
pri_skit15-Jan-07 21:08 
AnswerRe: How to get handle to an application? Pin
#realJSOP14-Jan-07 23:25
mve#realJSOP14-Jan-07 23:25 
GeneralRe: How to get handle to an application? Pin
pri_skit15-Jan-07 21:07
pri_skit15-Jan-07 21:07 
AnswerRe: How to get handle to an application? Pin
ead mahmoud15-Jan-07 0:53
ead mahmoud15-Jan-07 0:53 
GeneralRe: How to get handle to an application? Pin
pri_skit15-Jan-07 21:08
pri_skit15-Jan-07 21:08 
QuestionRe: How to get handle to an application? Pin
David Crow15-Jan-07 3:30
David Crow15-Jan-07 3:30 
QuestionWinAPI : DnsQuery_A and DNS_TYPE_LOC Pin
robheffo14-Jan-07 22:55
robheffo14-Jan-07 22:55 
QuestionTo read IMDB file Pin
Mushtaque Nizamani14-Jan-07 22:53
Mushtaque Nizamani14-Jan-07 22:53 
QuestionRe: To read IMDB file Pin
David Crow15-Jan-07 3:32
David Crow15-Jan-07 3:32 
QuestionStructures and Member Variables Question Pin
Andy20214-Jan-07 22:25
Andy20214-Jan-07 22:25 
QuestionRe: Structures and Member Variables Question Pin
prasad_som14-Jan-07 22:44
prasad_som14-Jan-07 22:44 
AnswerRe: Structures and Member Variables Question Pin
Andy20215-Jan-07 0:35
Andy20215-Jan-07 0:35 
GeneralRe: Structures and Member Variables Question Pin
prasad_som15-Jan-07 1:04
prasad_som15-Jan-07 1:04 
GeneralRe: Structures and Member Variables Question Pin
Andy20215-Jan-07 1:12
Andy20215-Jan-07 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.