home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!chsun!hslrswi!news
- From: PAULETTI@biel.be.tech.ascom.ch (Pauletti Andreas)
- Subject: Re: 2 List Boxes in one window... Transfering Information
- In-Reply-To: axs9017@hertz.njit.edu's message of 14 Aug 92 04: 59:59 GMT
- Message-ID: <1992Aug14.133731.2073@hasler.ascom.ch>
- Sender: news@hasler.ascom.ch
- Organization: Ascom Tech Ltd., Corporate Services, Division for Research
- References: <1992Aug11.220535.14031@u.washington.edu> <1992Aug12.183957.27242@rulway.LeidenUniv.nl> <1992Aug14.045959.1689@njitgw.njit.edu>
- Date: Fri, 14 Aug 1992 13:37:31 GMT
- X-News-Reader: VMS NEWS 1.11
- Lines: 24
-
- In <1992Aug14.045959.1689@njitgw.njit.edu> axs9017@hertz.njit.edu writes:
-
- > Hi, Maby some one out there could help me.
- > Im trying to open up a dialog box, that has 2 list boxes...
- > I cant seem to figure out what Im doing wrong...
- > I know that it is something to do with
- >
- > TransferBuffer
- >
- > I have to write it like that, so that when I click on the
- > AvailableListBox, the information gets transfered to the
- > SelectedListBox... (sort of like the printer and font stuff in windows)
- >
-
- Transfer buffer s are used to set and retrieve information of controls.
- The data is transfered from the buffer to the controls before the dialog
- is shown and back after the dialog is finished (normally when the OK
- button was selected.
- What you need is to alter the behaviour of the AvailableListBox Control
- in that way that a selection adds the selected string into the
- SelectedListBox (CHANGESEL message)
-
- cheers andreas pauletti
-
-