January 31st, 2013, 02:30 PM
Still got a problem..now is is this line of code
lvi.lParam = (LPARAM)node;
which gives me the error
error C2440: 'type cast' : cannot convert from 'struct testing' to 'long'
January 31st, 2013, 01:35 PM
0k i handled the LVN_GETDISPINFO with this code
void CThisDlg::OnGetdispinfoList1(NMHDR* pNMHDR, LRESULT* pResult)
LV_DISPINFO* pDispInfo = (LV_DISPINFO*)pNMHDR;
January 31st, 2013, 12:27 PM
Ok i see. I need to also handle LVN_GETDISPINFO in the message maps with ON_NOTIFY and form the columns in a switch statment
January 31st, 2013, 11:40 AM
Im trying to populate a list control with the filename and maybe some other thing when i push the OK button
here is my code
int iItem = 0, iActualItem = 0;
January 29th, 2013, 03:50 PM
Ok i got a picture in the attachments for understanding..
I put a red box into the list control that gets the files of the server with FTPFINDFIRSTFILE AND FTPFINDNEXTFILE
the blue box list...
January 29th, 2013, 03:16 PM
Im programming a ftp client and im loading files from my computer into a list control. I want to upload files selected in the list control.
January 29th, 2013, 03:00 PM
How do I get the path for a seleced item in a list control?
December 27th, 2012, 11:30 AM
Im coding a music player and I want the timer to stop when the music stops.
I got a static text with the lenght of the song. (the static text shows the position of the song in seconds....like...
November 16th, 2012, 04:11 PM
I fixed the problem. instead of using SIZEOF i just manually put i the bits in the RECV command.
is there anythign else i can use instead of SIZEOF
November 16th, 2012, 03:25 PM
Im making a rat program and the recv function is not receiving.
here is my code