Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 2:46
David Crow28-Sep-06 2:46 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs28-Sep-06 3:54
lctrncs28-Sep-06 3:54 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 4:07
David Crow28-Sep-06 4:07 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs28-Sep-06 7:10
lctrncs28-Sep-06 7:10 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 7:44
David Crow28-Sep-06 7:44 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs28-Sep-06 10:15
lctrncs28-Sep-06 10:15 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 10:34
David Crow28-Sep-06 10:34 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs28-Sep-06 12:46
lctrncs28-Sep-06 12:46 
I am using the combobox as a method for selecting records in a database. Since the record is displayed once the user selects the text, there is no longer a need to display duplicate information in the combobox - and it looks funky if it remains displayed.

While I thought I had a useful workaround earlier, I am not as happy with it now as I thought I would be.

I never was one to do things the same way as everyone else, so my unique approach to the combobox does not surprise me that much. I thought about tree controls and list boxes, but I need something that remains hidden most of the time.

So what do you think about painting over the edit control to hide the selected text, or trapping the WM_SETTEXT?

I am very tired and would very much like to find a solution soon. I have been trying to solve this problem for a very long time!

Suggestions?



"For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." Richard Feynman, Minority Report to the Official Report on the Space Shuttle Challenger Crash

QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 2:40
David Crow29-Sep-06 2:40 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 5:11
lctrncs29-Sep-06 5:11 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 5:18
David Crow29-Sep-06 5:18 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 5:44
lctrncs29-Sep-06 5:44 
GeneralRe: Clearing the edit box in ccombobox Pin
Zac Howland29-Sep-06 3:40
Zac Howland29-Sep-06 3:40 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 5:19
lctrncs29-Sep-06 5:19 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 5:59
David Crow29-Sep-06 5:59 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 6:31
lctrncs29-Sep-06 6:31 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 6:02
David Crow29-Sep-06 6:02 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 6:49
lctrncs29-Sep-06 6:49 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 7:14
David Crow29-Sep-06 7:14 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 11:20
lctrncs29-Sep-06 11:20 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow2-Oct-06 2:44
David Crow2-Oct-06 2:44 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs2-Oct-06 5:13
lctrncs2-Oct-06 5:13 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow2-Oct-06 6:07
David Crow2-Oct-06 6:07 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 5:43
lctrncs29-Sep-06 5:43 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 5:57
David Crow29-Sep-06 5:57 

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.