Click here to Skip to main content
15,889,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
Graham Shanks29-May-08 8:59
Graham Shanks29-May-08 8:59 
GeneralRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
Ahmed Charfeddine29-May-08 23:28
Ahmed Charfeddine29-May-08 23:28 
AnswerRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
CPallini29-May-08 9:03
mveCPallini29-May-08 9:03 
GeneralRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
Maximilien29-May-08 9:10
Maximilien29-May-08 9:10 
JokeRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
BadKarma29-May-08 10:51
BadKarma29-May-08 10:51 
GeneralRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
bulg29-May-08 11:56
bulg29-May-08 11:56 
GeneralRe: How to change 1001 refreneces of my "xxx" string values into _T("xxx") Pin
Ahmed Charfeddine29-May-08 23:46
Ahmed Charfeddine29-May-08 23:46 
QuestionCComboBox SelectString does not "copy to edit control" Pin
Vaclav_29-May-08 7:09
Vaclav_29-May-08 7:09 
Here is what MSDN says about this:
" If the string is found, this method selects the string in the list box and copies it to the edit control."


My code finds the string but does not do anything to the Form view edit part of the combo box dialog.
What did I missed?

CString strText;
CComboBox * pBoxOne;
pBoxOne = ( CComboBox *) GetDlgItem(IDC_COMBO1);
int i = pBoxOne->SelectString(-1,"21"); // OK
pBoxOne->GetLBText( i, strText); // OK
m_strBand = strText;

Using VC 6.0

Thanks for your help.

Vaclav
AnswerRe: CComboBox SelectString does not "copy to edit control" Pin
Rajesh R Subramanian29-May-08 7:34
professionalRajesh R Subramanian29-May-08 7:34 
Question[Solved] Is MS Word MDI/SDI? How to implement it in VC6? Pin
followait29-May-08 6:51
followait29-May-08 6:51 
AnswerRe: Is MS Word MDI/SDI? How to implement it in VC6? Pin
CPallini29-May-08 7:37
mveCPallini29-May-08 7:37 
GeneralRe: Is MS Word MDI/SDI? How to implement it in VC6? Pin
Nelek29-May-08 8:20
protectorNelek29-May-08 8:20 
AnswerRe: Is MS Word MDI/SDI? How to implement it in VC6? Pin
Nelek29-May-08 8:22
protectorNelek29-May-08 8:22 
AnswerRe: [Solved] Is MS Word MDI/SDI? How to implement it in VC6? Pin
ShilpiP29-May-08 19:00
ShilpiP29-May-08 19:00 
Questionhow to calculate hessian matrix Pin
traelektro29-May-08 6:11
traelektro29-May-08 6:11 
Questionhow to calculate hessian matrix Pin
traelektro29-May-08 6:11
traelektro29-May-08 6:11 
QuestionRe: how to calculate hessian matrix Pin
CPallini29-May-08 7:34
mveCPallini29-May-08 7:34 
AnswerRe: how to calculate hessian matrix Pin
traelektro29-May-08 13:01
traelektro29-May-08 13:01 
GeneralRe: how to calculate hessian matrix Pin
CPallini29-May-08 21:46
mveCPallini29-May-08 21:46 
GeneralRe: how to calculate hessian matrix [modified] Pin
traelektro3-Jun-08 22:33
traelektro3-Jun-08 22:33 
QuestionAre you just mocking me? Pin
CPallini3-Jun-08 22:39
mveCPallini3-Jun-08 22:39 
JokeRe: I am not mocking you? Pin
traelektro3-Jun-08 23:09
traelektro3-Jun-08 23:09 
GeneralRe: I am not mocking you? Pin
CPallini3-Jun-08 23:17
mveCPallini3-Jun-08 23:17 
GeneralRe: I am not mocking you? Pin
traelektro3-Jun-08 23:55
traelektro3-Jun-08 23:55 
AnswerRe: how to calculate hessian matrix Pin
Saurabh.Garg29-May-08 16:30
Saurabh.Garg29-May-08 16:30 

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.