Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Kill Command Pin
David Crow4-Apr-05 10:42
David Crow4-Apr-05 10:42 
GeneralRe: Kill Command Pin
mpapeo4-Apr-05 12:13
mpapeo4-Apr-05 12:13 
GeneralMFC MDI Help Menu Pin
Kyudos4-Apr-05 0:09
Kyudos4-Apr-05 0:09 
GeneralRe: MFC MDI Help Menu Pin
Kyudos4-Apr-05 4:01
Kyudos4-Apr-05 4:01 
General. Pin
hssaroch3-Apr-05 23:41
hssaroch3-Apr-05 23:41 
GeneralRe: Network gaming problem Pin
Alexander M.,4-Apr-05 2:37
Alexander M.,4-Apr-05 2:37 
GeneralSaving a list box or list control data to txt file Pin
shinyhui3-Apr-05 23:33
shinyhui3-Apr-05 23:33 
GeneralRe: Saving a list box or list control data to txt file Pin
toxcct3-Apr-05 23:53
toxcct3-Apr-05 23:53 
if you are a MFC user, the following should help :
CString str;
ofstream file("file.txt");
CListBox* pLB = GetDlgItem(IDC_LISTBOX);
int NbLines = pLB->GetCount();
for (int i = 0; i < NbLines; i++) {
    pLB->GetLBText(i, str);
    file << (LPCTSTR)str << '\n';
}



TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: Saving a list box or list control data to txt file Pin
RobJones4-Apr-05 5:44
RobJones4-Apr-05 5:44 
GeneralRe: Saving a list box or list control data to txt file Pin
shinyhui4-Apr-05 14:17
shinyhui4-Apr-05 14:17 
GeneralTELNET FAILURE!!! URGENT HELP NEEDED!!! Pin
URagavSouth3-Apr-05 23:32
URagavSouth3-Apr-05 23:32 
Generalvalidation Pin
mpapeo3-Apr-05 23:14
mpapeo3-Apr-05 23:14 
GeneralRe: validation Pin
Gary R. Wheeler4-Apr-05 1:57
Gary R. Wheeler4-Apr-05 1:57 
GeneralRe: validation Pin
David Crow4-Apr-05 2:55
David Crow4-Apr-05 2:55 
GeneralRe: validation Pin
mpapeo4-Apr-05 7:51
mpapeo4-Apr-05 7:51 
GeneralRe: validation Pin
mpapeo4-Apr-05 10:30
mpapeo4-Apr-05 10:30 
GeneralRe: validation Pin
David Crow4-Apr-05 10:38
David Crow4-Apr-05 10:38 
GeneralRe: validation Pin
mpapeo4-Apr-05 11:01
mpapeo4-Apr-05 11:01 
GeneralRe: validation Pin
mpapeo4-Apr-05 12:01
mpapeo4-Apr-05 12:01 
GeneralRe: validation Pin
David Crow4-Apr-05 17:03
David Crow4-Apr-05 17:03 
GeneralRe: validation Pin
David Crow4-Apr-05 17:01
David Crow4-Apr-05 17:01 
Generalglobal variables in dynamic link library Pin
arthi_mclt3-Apr-05 23:05
arthi_mclt3-Apr-05 23:05 
GeneralRe: global variables in dynamic link library Pin
Alexander M.,4-Apr-05 2:53
Alexander M.,4-Apr-05 2:53 
GeneralText display with CHtmlView Pin
lordguid3-Apr-05 22:48
lordguid3-Apr-05 22:48 
GeneralRichEdit and Console Pin
AdyOS3-Apr-05 22:36
AdyOS3-Apr-05 22:36 

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.