Click here to Skip to main content
15,897,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: copy/store to a file Pin
thathvamsi31-Aug-06 16:41
thathvamsi31-Aug-06 16:41 
GeneralRe: copy/store to a file Pin
kakan31-Aug-06 21:55
professionalkakan31-Aug-06 21:55 
GeneralRe: copy/store to a file [modified] Pin
kakan31-Aug-06 22:11
professionalkakan31-Aug-06 22:11 
GeneralRe: copy/store to a file Pin
Rinu_Raj30-Aug-06 19:13
Rinu_Raj30-Aug-06 19:13 
Questionreinterpret_cast to fill listview Pin
Jumpin' Jeff30-Aug-06 16:24
Jumpin' Jeff30-Aug-06 16:24 
QuestionRe: reinterpret_cast to fill listview Pin
prasad_som30-Aug-06 19:09
prasad_som30-Aug-06 19:09 
AnswerRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff31-Aug-06 1:33
Jumpin' Jeff31-Aug-06 1:33 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som31-Aug-06 2:07
prasad_som31-Aug-06 2:07 
Jumpin` Jeff wrote:
With my example above, if I change
m_List.InsertItem(0, Items);

to
m_List.InsertItem(0, "Hello!");

it will insert a new row "Hello!" so the issue really is getting the variable Items to convert to the proper format to display in the listview.


this form of call expects LPCTSTR as second parameter.
Can you tell datatype of Items.
If you are expecting either integer of string as Items, and use above call , then you need to call conversion function to convert int to string.


Jumpin` Jeff wrote:
In a console window, I can display the Items extracted from the file using the reinterpret_cast&Items with a simple
cout << Items <<endl;< blockquote="">

Here << operator is overloaded to display standard data type.

Am I under stood correctly, what you want to say? If not can you be specific.


GeneralRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff31-Aug-06 9:33
Jumpin' Jeff31-Aug-06 9:33 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som31-Aug-06 19:10
prasad_som31-Aug-06 19:10 
GeneralRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff1-Sep-06 1:24
Jumpin' Jeff1-Sep-06 1:24 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som1-Sep-06 1:37
prasad_som1-Sep-06 1:37 
QuestionDLLMain and its usage. [modified] Pin
Jeremy Falcon30-Aug-06 12:05
professionalJeremy Falcon30-Aug-06 12:05 
QuestionProgram exception Pin
mdexch30-Aug-06 11:56
mdexch30-Aug-06 11:56 
AnswerRe: Program exception Pin
Stephen Hewitt30-Aug-06 15:05
Stephen Hewitt30-Aug-06 15:05 
GeneralRe: Program exception Pin
mdexch31-Aug-06 4:53
mdexch31-Aug-06 4:53 
QuestionDifferent html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:24
EpicYeti30-Aug-06 9:24 
AnswerRe: Different html with wininet than I.E. Pin
Waldermort30-Aug-06 9:31
Waldermort30-Aug-06 9:31 
GeneralRe: Different html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:51
EpicYeti30-Aug-06 9:51 
AnswerRe: Different html with wininet than I.E. Pin
Rama Krishna Vavilala30-Aug-06 9:33
Rama Krishna Vavilala30-Aug-06 9:33 
GeneralRe: Different html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:59
EpicYeti30-Aug-06 9:59 
QuestionHow to set menu bar background? Pin
kiluar30-Aug-06 9:11
kiluar30-Aug-06 9:11 
AnswerRe: How to set menu bar background? Pin
Waldermort30-Aug-06 9:35
Waldermort30-Aug-06 9:35 
GeneralRe: How to set menu bar background? Pin
kiluar30-Aug-06 15:18
kiluar30-Aug-06 15:18 
AnswerRe: How to set menu bar background? Pin
Hamid_RT30-Aug-06 22:09
Hamid_RT30-Aug-06 22:09 

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.