PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Pat Dooley on January 15, 2009, 05:09:31 PM

Title: Listbox_GetSel function?
Post by: Pat Dooley on January 15, 2009, 05:09:31 PM
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
Title: Re: Listbox_GetSel function?
Post by: TechSupport on January 15, 2009, 05:45:35 PM
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).
Title: Re: Listbox_GetSel function?
Post by: Pat Dooley on January 15, 2009, 07:21:16 PM
I never thought to look in the inc files. But I will now. Thanks.
Pat