Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs27-Sep-06 11:42
lctrncs27-Sep-06 11:42 
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 
lctrncs wrote:
...(one would think if it were truly static that it would not change ata all).


It's definitely a static control and not an edit control that has been merely made read-only. You can confirm this via Spy++. The "combo" part comes from it being a listbox coupled with either a static control or an edit control. What the control is comprised of is irrelevant, however.

lctrncs wrote:
It is this inserted text I hope to clear in Drop List style.


Why? If the user selected it from the combobox, why clear it? Would that not be ultimately confusing? How would they then know what, if anything, has been selected? I've never seen a combobox behave in this fashion. Do you have an example?

lctrncs wrote:
You appear to suggest that the edit box associated with the combobox we have been discussing becomes a separate control when it is in Drop List mode.


No, it simply does not exist. Furthermore, I don't recall ever having to interact with a combobox in this way. Once a selection has been made, it stays "made" until the list is dropped down and some other selection is made.

lctrncs wrote:
I find it difficult to believe that just changing a combobox's style turns it into two separate controls.


A combobox has always been two-controls-in-one, even back with Windows 3.x.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs28-Sep-06 12:46
lctrncs28-Sep-06 12:46 
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 

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.