Path: utzoo!attcan!uunet!lll-winken!ames!apple!usc!bloom-beacon!cb750c.enet.DEC.COM!bolgatz From: bolgatz@cb750c.enet.DEC.COM Newsgroups: comp.windows.x Subject: RE: DECWindows list box widget resizing Message-ID: <8906221733.AA13921@decwrl.dec.com> Date: 22 Jun 89 17:33:29 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 18 The proper way to change the listbox width is through SetValues. Listbox does not support dynamic dimension changes. Therefore, placing listboxes inside attached dialog boxes - with attachments to both the left and right side of the adb - may, under certain circumstances, lead to the items selectable area not spanning the full width of the listbox. This is because attached dialog boxes dynamically resize their children when the adb changes size. Also note that the proper way to change the listbox height is through the ItemsCount attribute. Modifying the height attribute will not reconfigure the number of visible items. Again, in the case of attached dialog boxes, doubling the listbox height but not modifying the itemsCount will result in a lb only half 'full' of items, the remainiong area left blank. Dynamic resizing will be added to listbox in DECW V3... Jay Bolgatz