Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Systems DSN in VC++ Pin
David Crow7-Aug-06 2:52
David Crow7-Aug-06 2:52 
GeneralRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 2:57
Programm3r7-Aug-06 2:57 
QuestionRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:36
Programm3r7-Aug-06 3:36 
AnswerRe: Systems DSN in VC++ Pin
Hamid_RT7-Aug-06 3:46
Hamid_RT7-Aug-06 3:46 
GeneralRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:50
Programm3r7-Aug-06 3:50 
AnswerRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:49
Programm3r7-Aug-06 3:49 
QuestionChanging language of all the applications? Pin
_AnsHUMAN_ 7-Aug-06 2:04
_AnsHUMAN_ 7-Aug-06 2:04 
QuestionMFC Pin
Bravoone_20067-Aug-06 1:53
Bravoone_20067-Aug-06 1:53 
ok i understand but i am not so good and i need some help , i will explain to you again :

My aplication is CDialog i use 3 edit boxes and 1 CListCtrl .
First i wanted to search in CListCtrl from 1 edit box and the answer if exist in CListCtrl in another edit box.Now i want this :

0 1 2
---------------------------------------------------
| NAME | City | Country |
---------------------------------------------------
|George| London| England |
---------------------------------------------------
|George|NewYork| USA |
---------------------------------------------------
1) m_name CEdit
2) m_City CEdit
3) m_rezult CEdit
3) m_list CListCtrl


so far i done this :
void CMyList::OnOK()
{
UpdateData();
m_list.RedrawItems(0,m_list.GetItemCount());


CString sName = _T("Name");
m_name.GetWindowText(sName);


LVFINDINFO stInfo = {0};
stInfo.flags = LVFI_PARTIAL;
stInfo.psz = sName;
int nItem = m_list.FindItem( &stInfo );
if( nItem != -1 )
{
// the item is in the list control
CString sSecondColumnText = m_list.GetItemText( nItem, 1 );
// set the text to the second edit box
m_rezult.SetWindowText( sSecondColumnText );


//---------------------------------------------------------------------------------//


}
}

All i want is to search for this :

if i write in m_name and in m_city when i push the button i need the answer in m_rezult (the search rezult)

ex: if i write in m_name George and in m_city London i need the answer in m_rezult England ! and so on ! if i search for George and NewYork i need the answer in m_rezult : USA !!!!!


PLZ!!!! Make your choice and help me if you ...

Thank you !...all !

Bravoone

AnswerRe: MFC Pin
PlayByTheRules7-Aug-06 1:55
PlayByTheRules7-Aug-06 1:55 
AnswerRe: MFC Pin
Hamid_RT7-Aug-06 2:22
Hamid_RT7-Aug-06 2:22 
GeneralRe: MFC Pin
Bravoone_20067-Aug-06 2:47
Bravoone_20067-Aug-06 2:47 
QuestionRe: MFC Pin
Hamid_RT7-Aug-06 3:37
Hamid_RT7-Aug-06 3:37 
AnswerRe: MFC Pin
David Crow7-Aug-06 3:08
David Crow7-Aug-06 3:08 
JokeRe: MFC Pin
Hamid_RT7-Aug-06 3:36
Hamid_RT7-Aug-06 3:36 
Questionif is someone who can help me? PLZ!!!!!! Pin
Bravoone_20067-Aug-06 0:54
Bravoone_20067-Aug-06 0:54 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
Chris Losinger7-Aug-06 1:19
professionalChris Losinger7-Aug-06 1:19 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
Christian Graus7-Aug-06 1:29
protectorChristian Graus7-Aug-06 1:29 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
PlayByTheRules7-Aug-06 1:46
PlayByTheRules7-Aug-06 1:46 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
David Crow7-Aug-06 3:07
David Crow7-Aug-06 3:07 
Question.inl files Pin
SteamEngine7-Aug-06 0:53
SteamEngine7-Aug-06 0:53 
AnswerRe: .inl files Pin
Link26007-Aug-06 1:04
Link26007-Aug-06 1:04 
AnswerRe: .inl files Pin
Programm3r7-Aug-06 1:04
Programm3r7-Aug-06 1:04 
QuestionUsing CxImageLib Pin
Kiran Pinjala7-Aug-06 0:38
Kiran Pinjala7-Aug-06 0:38 
AnswerRe: Using CxImageLib Pin
Programm3r7-Aug-06 0:40
Programm3r7-Aug-06 0:40 
GeneralRe: Using CxImageLib Pin
Kiran Pinjala7-Aug-06 0:50
Kiran Pinjala7-Aug-06 0:50 

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.