On Sat, 12 Aug 2006, Thomas Igracki wrote: > > On 11.08.06 (13:27:09), Ilkka Lehtoranta wrote: > > > On Fri, 11 Aug 2006, Thomas Igracki wrote: > >> anyone knows how I can get a virtgrp which is only in the horiz direction > >> virtual w/o using scrollgroup (where I can use MUIA_Scrollgroup_FreeVert, > >> FALSE) or is there a way to have the scrollbar hidden all the time? > > > > You need a custom class which uses fixed height or width thus locking > > virtgroup vertically or horizontally. Ambient has such virtgroup subclass: > > > http://morphosambient.cvs.sourceforge.net/morphosambient/ambient/virtgroupclass.c?revision=1.5&view=markup > > > > The class is used in toolbar buttons where height is fixed but width > > depends on the window size. > > Thanks, it works now. > Although in Ambients virtgroupclass the height is not fixed, when horiz is > true, I needed to set MinHeight to MaxHeight in mAskMinMax to achieve what I > need!
It depends on objects you use. If you have tall objects (maxheight >= MUI_MAXMAX) it will not work but defheight is usable for fixed height objects only... Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
