Article View: comp.windows.ms.programmer
Article #1083Re: Multiple Selection Listboxes
From: Bill Chin
Date: Tue, 15 Jan 1991 18:06
Date: Tue, 15 Jan 1991 18:06
15 lines
1339 bytes
1339 bytes
I would like to thank Curt Johnson <curt@cctb.wa.com>, Peter J. Nordlund <petno@sssab.se>, and David <davidds%microsoft@uunet.uu.net> for responding to my distress signal and showing me the light at the end of the tunnel. My problem was with multiple selection listboxes and the fact that when trying to delete items from it using the multiple selection array, the index would change. Apparently, all I had to do was to go through the array of selections *backwards* in order to prevent the control from changing the index, thus invalidating the array. Thanks again. -- Bill Chin internet: bchin@is-next.umd.edu MS-Windows Programmer NeXT: bchin@sinai.umd.edu Applied Imaging Lab University of Maryland, College Park
Technical Details
Message-ID:
<7850@umd5.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!umd5!is-next.umd.edu!bchinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!umd5!is-next.umd.edu!bchin From: bchin@is-next.umd.edu (Bill Chin) Newsgroups: comp.windows.ms.programmer Subject: Re: Multiple Selection Listboxes Message-ID: <7850@umd5.umd.edu> Date: 15 Jan 91 18:06:17 GMT Sender: news@umd5.umd.edu Organization: Comp. Sci. Ctr., Univ. of MD, College Park, MD 20742 Lines: 15 Originator: bchin@is-next.umd.edu