home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1326 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.5 KB  |  38 lines

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