[comp.windows.ms.programmer] Using linked lists

brian@cunixf.cc.columbia.edu (Brian Hoffman) (11/18/90)

I'm an extremely novice win300 programmer with some (hopefully) simple
questions.

I'm writing an app that uses a linked list of small(<512 bytes) data
elements.  I've been reading pages 16-21 and 16-22 of the win3 Guide to
Programming and have basically decided that I need to learn how to use
handles to moveable data if I want to get this thing done right.

If someone could post a small bit of code demonstrating how to use linked
lists with handles I would greatly appreciate it.  Please include the
type declaration, the LocalAlloc() call, and a demonstration of how
to scoot down the list.

I know it's not that complicated, but the little demo code in the book
just doesn't cut it.

Mucho thanks.



|Brian Hoffman								|
|brian@cunixf.cc.columbia.edu						|
|Quote:	"A red sky at night may be a shepard's delight, but you're 	|