home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!koko.csustan.edu!nic.csu.net!yosemite!dewerk
- From: dewerk@yosemite.csufresno.edu (<< Dragon >>)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Multi-select combo boxes
- Message-ID: <1993Jan12.190854.3781@nic.csu.net>
- Date: 13 Jan 93 03:08:53 GMT
- Organization: California State University, Fresno
- Lines: 33
- Nntp-Posting-Host: yosemite.csufresno.edu
-
- ->Newsgroups: comp.os.ms-windows.programmer.misc
- ->From: pdaugher@mcl.bdm.com (Pat Daugherty)
- ->Subject: Combo boxes with multiple selections????
- ->
- ->Does anyone have any ideas to allow multiple selections in a combo
- ->box?
- ->
- ->Please email or post.
- ->Thanks,
- ->
- ->--
- ->* pdaugher@bdmserver.mcl.bdm.com *
- ->* PAT DAUGHERTY Go Redskins *
- ->* "Hey Man I Am Cool, I Am The Breeze" *
-
- when you define the style (most likely you're using LBS_STANDARD) include
- LBS_MULTIPLESEL (e.g. style = LBS_STANDARD | LBS_MULTIPLESEL)...
-
- also... instead of sending the messages LB_SETCURSEL, LB_GETCURSEL, or
- LB_SELECTSTRING you'll need to use LB_SETSEL and LB_GETSEL... for more
- information try looking at pp.244-249 of Charles Petzold's book
- "Programming Windows, 2nd Ed"...
-
- -- Paul-Joseph
-
- * - * - *
-
- Paul-Joseph "Dragon" de Werk | God grant me the SERENITY to accept
- Department of Computer Science | the things I cannot change, the
- California State University, Fresno | COURAGE to change the things I can,
- dewerk@csufres.CSUFresno.EDU | and the WISDOM to know the difference.
-
- HELLO! I'm a .signature virus! Join in and copy me into yours!
-