Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: IS WORKING BU ONLY LIKE THIS !!!!! BUT I DON T WANT THIS !!!! Pin
David Crow3-Aug-06 2:32
David Crow3-Aug-06 2:32 
AnswerRe: IS WORKING BU ONLY LIKE THIS !!!!! BUT I DON T WANT THIS !!!! Pin
toxcct3-Aug-06 2:34
toxcct3-Aug-06 2:34 
AnswerRe: IS WORKING BU ONLY LIKE THIS !!!!! BUT I DON T WANT THIS !!!! Pin
Viorel.3-Aug-06 2:37
Viorel.3-Aug-06 2:37 
QuestionDatabase Pin
anjita3-Aug-06 1:53
anjita3-Aug-06 1:53 
AnswerRe: Database Pin
Hamid_RT3-Aug-06 1:58
Hamid_RT3-Aug-06 1:58 
AnswerRe: Database Pin
Bravoone_20063-Aug-06 2:13
Bravoone_20063-Aug-06 2:13 
AnswerRe: Database Pin
David Crow3-Aug-06 2:34
David Crow3-Aug-06 2:34 
QuestionAGAIN !!! Sory but i dont find my thread ! to write ! Pin
Bravoone_20063-Aug-06 1:44
Bravoone_20063-Aug-06 1:44 
i dont now what is wrong but nothing hapening when i push the buton !
(the data from list control are from a database in visualfox 6.0)
maybe help this ! i dont now !

void CNcontabile::OnTest2()
{


CString sRelatia ;
m_relatia.GetWindowText(sRelatia);

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

}


i dont use anything else but this in my code and in OnInitDialog :

m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVFI_STRING | LVS_EX_FLATSB);


m_list.InsertColumn(0,"Cont",LVCFMT_LEFT,90);
m_list.InsertColumn(1,"Denumire",LVCFMT_LEFT,360);




Bravoone

AnswerRe: AGAIN !!! Sory but i dont find my thread ! to write ! Pin
Viorel.3-Aug-06 2:09
Viorel.3-Aug-06 2:09 
GeneralRe: AGAIN !!! Sory but i dont find my thread ! to write ! Pin
Bravoone_20063-Aug-06 2:24
Bravoone_20063-Aug-06 2:24 
QuestionRe: AGAIN !!! Sory but i dont find my thread ! to write ! Pin
David Crow3-Aug-06 2:43
David Crow3-Aug-06 2:43 
AnswerRe: AGAIN !!! Sory but i dont find my thread ! to write ! Pin
Bravoone_20063-Aug-06 3:08
Bravoone_20063-Aug-06 3:08 
QuestionRe: AGAIN !!! Sory but i dont find my thread ! to write ! Pin
Bravoone_20063-Aug-06 2:47
Bravoone_20063-Aug-06 2:47 
QuestionProblems in Closing Document objects in Automated MSWord using VC++ [modified] Pin
georgekjolly3-Aug-06 1:22
georgekjolly3-Aug-06 1:22 
QuestionRe: Problems in Closing Document objects in Automated MSWord using VC++ Pin
David Crow3-Aug-06 2:47
David Crow3-Aug-06 2:47 
QuestionVS 2005 Installer Pin
Programm3r3-Aug-06 1:22
Programm3r3-Aug-06 1:22 
AnswerRe: VS 2005 Installer Pin
Sarath C3-Aug-06 1:37
Sarath C3-Aug-06 1:37 
QuestionRe: VS 2005 Installer Pin
Programm3r3-Aug-06 1:47
Programm3r3-Aug-06 1:47 
AnswerRe: VS 2005 Installer Pin
Sarath C3-Aug-06 1:50
Sarath C3-Aug-06 1:50 
GeneralRe: VS 2005 Installer Pin
Programm3r3-Aug-06 1:58
Programm3r3-Aug-06 1:58 
GeneralRe: VS 2005 Installer Pin
Sarath C3-Aug-06 2:00
Sarath C3-Aug-06 2:00 
GeneralRe: VS 2005 Installer Pin
Programm3r3-Aug-06 2:01
Programm3r3-Aug-06 2:01 
AnswerRe: VS 2005 Installer Pin
Neil Van Eps3-Aug-06 6:01
Neil Van Eps3-Aug-06 6:01 
Questioncannot open file "mfc42u.lib" Pin
akshita_153-Aug-06 1:12
akshita_153-Aug-06 1:12 
AnswerRe: cannot open file "mfc42u.lib" Pin
Bravoone_20063-Aug-06 1:19
Bravoone_20063-Aug-06 1:19 

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.