Listbox_GetSel function?

Started by Pat Dooley, January 15, 2009, 05:09:31 PM

Previous topic - Next topic

Pat Dooley

I had a question about getting the selected items in a multiple selection listbox, so I searched the forum and found an answer. It worked great.
The answer used a function called Listbox_GetSel.  I couldn't find any documentation on this.  It appears to me to be a wrapper for the LB_GETSEL message, but without the "FF_" prefix.
Are there more of these lttle gems hanging around?
Pat

TechSupport

That's the beauty of the Windows API :) There are hundreds and hundreds of gems to be found. Check out the "commctrl.inc" file for many more of these types of functions (located in the WinAPI directory of the PB compiler installation).

Pat Dooley

I never thought to look in the inc files. But I will now. Thanks.
Pat