![]() [?] TVN_BEGINLABELEDIT handling - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [?] TVN_BEGINLABELEDIT handling (/showthread.php?tid=88833) [?] TVN_BEGINLABELEDIT handling by SmokingCookie on 01-31-2009 at 06:54 PM
Hi, RE: [?] TVN_BEGINLABELEDIT handling by Mnjul on 01-31-2009 at 07:23 PM
quote:That's it, just use the lParam as though it's a pointer to a NMTVDISPINFO structue ![]() I hope I won't confuse you - NMTVDISPINFO is essentially a "substructure" (as "subclass" in OOP sense) of NMHDR RE: [?] TVN_BEGINLABELEDIT handling by SmokingCookie on 01-31-2009 at 07:29 PM
What do you mean?? RE: [?] TVN_BEGINLABELEDIT handling by matty on 01-31-2009 at 07:45 PM
The pointer to NMTVDISPINFO is the same as the pointer to TV_DISPINFO. js code: RE: [?] TVN_BEGINLABELEDIT handling by SmokingCookie on 01-31-2009 at 07:53 PM
I see. This "NMTVDISPINFO" contains NMHDR and TVITEM, so I have access to both structures using RtlMoveMemory, right? RE: [?] TVN_BEGINLABELEDIT handling by matty on 01-31-2009 at 09:33 PM no because NMTVDSPINFO is made up of both NMHDR and TVITEM therefore it is one structure 52 bytes in size. You access each by using ReadDWORD or ReadWORD. The NMHDR structure is from 0-8 and the TVITEM is fro 12-18. RE: [?] TVN_BEGINLABELEDIT handling by SmokingCookie on 01-31-2009 at 10:14 PM
Well, I got it working, thanks |