Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DLL project does not produce lib or exp files Pin
prasad_som4-Sep-06 18:42
prasad_som4-Sep-06 18:42 
Questionusing PictureBox Pin
Semion_N4-Sep-06 9:06
Semion_N4-Sep-06 9:06 
AnswerRe: using PictureBox Pin
Nader Elshehabi4-Sep-06 9:46
Nader Elshehabi4-Sep-06 9:46 
GeneralRe: using PictureBox Pin
Semion_N4-Sep-06 9:55
Semion_N4-Sep-06 9:55 
GeneralRe: using PictureBox Pin
Nader Elshehabi4-Sep-06 11:11
Nader Elshehabi4-Sep-06 11:11 
GeneralRe: using PictureBox Pin
Semion_N4-Sep-06 18:20
Semion_N4-Sep-06 18:20 
GeneralRe: using PictureBox Pin
Semion_N5-Sep-06 2:54
Semion_N5-Sep-06 2:54 
QuestionVirtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 8:15
Cy#4-Sep-06 8:15 
After 3 weeks of 18x7 trying to retrieve text from the item 0 of a virtual list view control, came to realize that must have the pointer to the item data in the DRAWITEMSTRUCT of a WM_DRAWITEM message but, the properties of the struct are 0000(no state!) for the item State and 00000000 for the item Data! Can anyone tell me what the heck is going on here please?
The application could be trying very hard to make this data inaccessible but, how is it doing that? The Window proc. Of the control also appears as subclassed! Could that be the cause?

All in all, there are 2 messages only produced amongst all of the messages sent & received by the control and it’s parent that can lead me to the text, the WM_DRAWITEM & the LVMINSERTITEM, well the former I already explained the problem with and the latter also has the LV_ITEM attributes as follows:
Mask: 0000, State:0000, state Mask:0000, cch Text Max: 84190885 which none of them again help to show the text pointer!

There are no other messages produced that could be of any use other than the ones for the headers that are crystal clear and have all the data showing.

How can I hack the data out of this LV control???? BTW, the hack is quite legal and legitimate.

Thanks for your help

p.s.
the virtual list control has the data painted and drawn onto it so there are not any of the usual setitem/getitem/settext etc. messages available. I have also studied very hard all possibilities of subclassing and hooking but my question remains, how can intercepting the say LVM_DRAWITEM above help? Unless, by subclassing it after receiving the message above and redelivering it back to the control, could I then throw a getitem message at it and hopefully it might then respond correctly??? Or something of similar nature?

AnswerRe: Virtual List View advanced question….?# can u help pls? Pin
Michael Dunn4-Sep-06 9:13
sitebuilderMichael Dunn4-Sep-06 9:13 
GeneralRe: Virtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 9:33
Cy#4-Sep-06 9:33 
Questionincludes MFC Pin
amzeus4-Sep-06 8:12
amzeus4-Sep-06 8:12 
AnswerRe: includes MFC Pin
Cedric Moonen4-Sep-06 8:29
Cedric Moonen4-Sep-06 8:29 
Questionmemory managment Pin
Waldermort4-Sep-06 7:42
Waldermort4-Sep-06 7:42 
AnswerRe: memory managment Pin
Michael Dunn4-Sep-06 9:20
sitebuilderMichael Dunn4-Sep-06 9:20 
GeneralRe: memory managment Pin
Waldermort4-Sep-06 19:36
Waldermort4-Sep-06 19:36 
QuestionA question about locking thread Pin
Toubou4-Sep-06 7:23
Toubou4-Sep-06 7:23 
AnswerRe: A question about locking thread Pin
Waldermort4-Sep-06 7:49
Waldermort4-Sep-06 7:49 
QuestionRe: A question about locking thread Pin
Toubou4-Sep-06 18:51
Toubou4-Sep-06 18:51 
AnswerRe: A question about locking thread Pin
Waldermort4-Sep-06 23:35
Waldermort4-Sep-06 23:35 
Questionuser.dmp issue Pin
Rob Caldecott4-Sep-06 6:40
Rob Caldecott4-Sep-06 6:40 
Answerwindbg to the rescue! Pin
Rob Caldecott4-Sep-06 6:58
Rob Caldecott4-Sep-06 6:58 
GeneralRe: windbg to the rescue! Pin
Waldermort4-Sep-06 7:03
Waldermort4-Sep-06 7:03 
Questionreplacing a string with a sub-string Pin
jon-804-Sep-06 6:29
professionaljon-804-Sep-06 6:29 
AnswerRe: replacing a string with a sub-string Pin
Graham Shanks4-Sep-06 12:28
Graham Shanks4-Sep-06 12:28 
Questionreduce the size of an array of chars.... Pin
jon-804-Sep-06 6:22
professionaljon-804-Sep-06 6:22 

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.