Re: modify text in CComboBox
- From: "Giovanni Dicanio" <giovanni.dicanio@xxxxxxxxxxx>
- Date: Wed, 14 May 2008 11:50:08 +0200
"William Dauchy" <wdauchy@xxxxxxxxx> ha scritto nel messaggio
news:2ce5b9bb-012e-48a5-a188-4d22b6175236@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a CComboBox. I wanted to modify the text of one entry.
So I made:
myCComboxBox.SetDlgItemText(mySel, "Some new text");
But nothing changed.
You may try to call CComboBox :: DeleteString to remove the old string, and
InsertString to add the new one...
BTW: CodeProject has a tutorial on Combo-boxes:
http://www.codeproject.com/KB/combobox/combobox_tut.aspx
Giovanni
.
- Follow-Ups:
- Re: modify text in CComboBox
- From: William Dauchy
- Re: modify text in CComboBox
- References:
- modify text in CComboBox
- From: William Dauchy
- modify text in CComboBox
- Prev by Date: modify text in CComboBox
- Next by Date: Re: MFC App unable to run in Vista with UAC enabled
- Previous by thread: modify text in CComboBox
- Next by thread: Re: modify text in CComboBox
- Index(es):
Relevant Pages
|