	This is the single biggest obstacle to writing WAOL add-on applications.
The _aol_listbox and _aol_combobox controls are owner drawn controls.  When
you try to access them using the LB_xxxx messages, the result is a pointer to
WAOLs owner drawn data structure.  Use the returned pointer to identify the
text
contained within the listbox; the pointer must be dereferenced like so (all
offsets
are in hex):

1st Ptr  -- >  +00 ???
               +04 ???
               +08 ???
               +0C ???
               +10 ???
               +14 ???
               -------
               +16 2nd Ptr -- > +00 ???
                                +02 ???
                                +04 ???
                                -------
                                +06  ASCIIZ String

The "first pointer" comes from a LB_xxxx or from a SendMessage (hWnd,
WM_USER+0x1A, Index, 0) where hWnd is the handle to the control (the
_aol_combobox control), Index is the listbox index you want to retreive.  
If you want to avoid "flashing" the controls, prevent them from repainting 
themselves or use the 1st pointer to find the rest of the listbox texts in
the linked list.  At the various offsets (other than 0x16), you can find
pointer to the next node and previous node.  Traverse the linked list once 
and you can read all the pointer to the listbox item texts very quickly with

little or no flashing of controls.  This is an exercise left to the student 
(geez, don't you hate it when the professor says that). I've told you where
to 
look and what to look for, now all you've gotta do is look.
	
       I discovered all this this information using Turbo Debugger for 
Windows, WinSight, and a few test programs I wrote in Delphi.  The test 
programs retrieve the pointers and I explored their addresses with Turbo 
Debugger data dump window.  Figuring out listboxes and comboboxes was a 
simple matter of observing another program and replicating its behavior.  
Reverse engineering is what it's called, and that's what I used.  It was 
only because I had no other means of obtaining the information in order to 
compete (there's a semi-famous legal case involving Electronic Arts and 
Sega regarding fair use of reverse engineering)
	
      

courtesy of "Writing WAOL Addons" By AsmFiend
