Valhalla Legends Forums Archive | General Programming | Owner Drawed ListViews/Boxs/?

AuthorMessageTime
UserLoser
Ok, I've searched around pscode, google, and many other sites for information on how to do this, I have found other codes on how to do owner drawed objects, but not what I'm looking for... Here is a link to an exe that has what I want, I just can't find resources on how do to it, could anyone help?

http://darknet.darktech.org/OwnerDraw.zip
June 13, 2003, 11:46 PM
Camel
http://www.mvps.org/vbvision/Sample_Projects.htm
waaaaaaay at the bottom, Virtual ListView Demo

[edit] does anybody know if it would be possible to call code directly from the game client to do this work? ::looks at skywing::
it'd be pretty cool to have a list of d2-style users in a bot without writing much code :)
June 14, 2003, 6:19 AM
Zonker
Thats my example that I wrote when adding an owner-draw listbox to my bot Vindication. Didn't exactly intend it to be public, seeing as how I only ever sent it to one person, but oh well. There is a great example of how to do it in the MSDN, but it appears that it isn't on the online version. SubSpace made an example based on it, and its at http://botdev.valhallalegends.com/documents/mfcodlistbox.html .
The example they have up now isn't as good, but still works, thats at http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/listboxes/usinglistboxes.asp?frame=true#ownerdrawn_listbox
Hope that helps you
June 15, 2003, 7:41 AM
Skywing
[quote author=Camel link=board=5;threadid=1630;start=0#msg12312 date=1055571582]
http://www.mvps.org/vbvision/Sample_Projects.htm
waaaaaaay at the bottom, Virtual ListView Demo

[edit] does anybody know if it would be possible to call code directly from the game client to do this work? ::looks at skywing::
it'd be pretty cool to have a list of d2-style users in a bot without writing much code :)
[/quote]Yes, but what you're thinking of would suck. It'd be way more work to do that than to just write it yourself, and the D2 UI leaks memory and takes profuse amounts of CPU time. Not to mention that it tends to crash when there are Warcraft III users present.
June 15, 2003, 9:30 PM
Yoni
Or when there aren't.
June 15, 2003, 9:52 PM
Camel
[quote author=Skywing link=board=5;threadid=1630;start=0#msg12384 date=1055712652]
Yes, but what you're thinking of would suck. It'd be way more work to do that than to just write it yourself, and the D2 UI leaks memory and takes profuse amounts of CPU time. Not to mention that it tends to crash when there are Warcraft III users present.
[/quote]
ah well, it'd still be pretty cool :)

[edit] is it just me or does the preview button really submit now?
June 16, 2003, 2:35 AM
Yoni
No, it doesn't. (It used to but it was fixed.)
June 16, 2003, 1:07 PM

Search