home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- 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
- From: rryan@panix.com (Rob Ryan)
- Subject: Re: what is CBS_NOINTEGRALHEIGHT for combobox supposed to do?
- Message-ID: <1992Nov15.155334.20385@panix.com>
- Date: Sun, 15 Nov 1992 15:53:34 GMT
- References: <1992Nov15.053819.20498@emr1.emr.ca>
- Organization: Panix, NYC
- Lines: 17
-
- The CBS_NOINTEGRALHEIGHT is used in cases where the Combobox's height holds,
- say, 4.5 lines of information. If you use CBS_NOINTEGRALHEIGHT, you will,
- if there are more than 4 items in the box, see 1/2 of the fifth. Otherwise,
- the system will only display 4 lines. So, the default of integral height
- ensures that you never have partial items in the box, whereas CBS_NOINTEGRAL
- HEIGHT ensures that the box is exactly the size as the control as you
- specified it in the resource file.
-
- It does not change the size of the control based upon how many items you
- have in it. You can do this manually, but this is (a) a nuisance to do; and
- (b) isn't consistent with the general Windows interface.
-
- --
- Rob Ryan
- Internet: rryan@panix.com or Robert_Ryan@brown.edu
- Bitnet: ROBR@BROWNVM
- Compu$erve: 70324.227@compuserve.com
-