Click here to Skip to main content
14,607,303 members

C / C++ / MFC

 
AnswerRe: Systems DSN in VC++ Pin
David Crow7-Aug-06 2:52
MemberDavid Crow7-Aug-06 2:52 
GeneralRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 2:57
MemberProgramm3r7-Aug-06 2:57 
QuestionRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:36
MemberProgramm3r7-Aug-06 3:36 
AnswerRe: Systems DSN in VC++ Pin
Hamid_RT7-Aug-06 3:46
MemberHamid_RT7-Aug-06 3:46 
GeneralRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:50
MemberProgramm3r7-Aug-06 3:50 
AnswerRe: Systems DSN in VC++ Pin
Programm3r7-Aug-06 3:49
MemberProgramm3r7-Aug-06 3:49 
QuestionChanging language of all the applications? Pin
_AnsHUMAN_ 7-Aug-06 2:04
Member_AnsHUMAN_ 7-Aug-06 2:04 
QuestionMFC Pin
Bravoone_20067-Aug-06 1:53
MemberBravoone_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
MemberPlayByTheRules7-Aug-06 1:55 
AnswerRe: MFC Pin
Hamid_RT7-Aug-06 2:22
MemberHamid_RT7-Aug-06 2:22 
GeneralRe: MFC Pin
Bravoone_20067-Aug-06 2:47
MemberBravoone_20067-Aug-06 2:47 
QuestionRe: MFC Pin
Hamid_RT7-Aug-06 3:37
MemberHamid_RT7-Aug-06 3:37 
AnswerRe: MFC Pin
David Crow7-Aug-06 3:08
MemberDavid Crow7-Aug-06 3:08 
JokeRe: MFC Pin
Hamid_RT7-Aug-06 3:36
MemberHamid_RT7-Aug-06 3:36 
Questionif is someone who can help me? PLZ!!!!!! Pin
Bravoone_20067-Aug-06 0:54
MemberBravoone_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
mveChristian Graus7-Aug-06 1:29 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
PlayByTheRules7-Aug-06 1:46
MemberPlayByTheRules7-Aug-06 1:46 
AnswerRe: if is someone who can help me? PLZ!!!!!! Pin
David Crow7-Aug-06 3:07
MemberDavid Crow7-Aug-06 3:07 
Question.inl files Pin
SteamEngine7-Aug-06 0:53
MemberSteamEngine7-Aug-06 0:53 
AnswerRe: .inl files Pin
Link26007-Aug-06 1:04
MemberLink26007-Aug-06 1:04 
AnswerRe: .inl files Pin
Programm3r7-Aug-06 1:04
MemberProgramm3r7-Aug-06 1:04 
QuestionUsing CxImageLib Pin
Kiran Pinjala7-Aug-06 0:38
MemberKiran Pinjala7-Aug-06 0:38 
AnswerRe: Using CxImageLib Pin
Programm3r7-Aug-06 0:40
MemberProgramm3r7-Aug-06 0:40 
GeneralRe: Using CxImageLib Pin
Kiran Pinjala7-Aug-06 0:50
MemberKiran 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.