🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #506

Getting selected strings from multiple select list box

#506
From: Alexander Shinkar
Date: Tue, 06 Oct 1992 03:03
26 lines
1234 bytes
Hello out there in NetLand...
I am using BC++ & AF...
And here is what I am trying to do.
I have a Multiple Select ListBox, and I am trying to use
GetSelStrings, to retrieve the selected strings, and
place them in to a string array.

The manual shows..

int GetSelStrings(LPSTR *Strings, int MaxCount, int MaxChars);

What should Strings be???
to be on the safe side, i said

LPSTR MyStrings[20][20];

and then, to use it, i said...

GetSelStrings( MyStrings , 10 , 10 );

This did not work...
Can somebody please help me???

Thanks in advance
Alex
axs9017@hertz.njit.edu
Technical Details
Message-ID: <1992Oct6.030337.1560@njitgw.njit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!cbnewse!cbnewsd!att-out!rutgers!njitgw.njit.edu!hertz.njit.edu!axs9017

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!cbnewse!cbnewsd!att-out!rutgers!njitgw.njit.edu!hertz.njit.edu!axs9017
From: axs9017@hertz.njit.edu (Alexander Shinkar)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Getting selected strings from multiple select list box
Summary: Use GetSelStrings with multiple select listboxes
Message-ID: <1992Oct6.030337.1560@njitgw.njit.edu>
Date: 6 Oct 92 03:03:37 GMT
Sender: axs9017@hertz.njit.edu (Alex Shinkar)
Organization: New Jersey Institute of Technology, Newark, N.J.
Lines: 26
Nntp-Posting-Host: hertz.njit.edu