home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3443 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!psinntp!psinntp!panix!rryan
  3. From: rryan@panix.com (Rob Ryan)
  4. Subject: Re: what is CBS_NOINTEGRALHEIGHT for combobox supposed to do?
  5. Message-ID: <1992Nov15.155334.20385@panix.com>
  6. Date: Sun, 15 Nov 1992 15:53:34 GMT
  7. References: <1992Nov15.053819.20498@emr1.emr.ca>
  8. Organization: Panix, NYC
  9. Lines: 17
  10.  
  11. The CBS_NOINTEGRALHEIGHT is used in cases where the Combobox's height holds,
  12. say, 4.5 lines of information.  If you use CBS_NOINTEGRALHEIGHT, you will,
  13. if there are more than 4 items in the box, see 1/2 of the fifth.  Otherwise,
  14. the system will only display 4 lines.  So, the default of integral height
  15. ensures that you never have partial items in the box, whereas CBS_NOINTEGRAL
  16. HEIGHT ensures that the box is exactly the size as the control as you 
  17. specified it in the resource file.
  18.  
  19. It does not change the size of the control based upon how many items you
  20. have in it.  You can do this manually, but this is (a) a nuisance to do; and
  21. (b) isn't consistent with the general Windows interface.
  22.  
  23. -- 
  24.  Rob Ryan
  25.     Internet:   rryan@panix.com or Robert_Ryan@brown.edu
  26.     Bitnet:     ROBR@BROWNVM
  27.     Compu$erve: 70324.227@compuserve.com
  28.