Hi Thomas, Thomas Igracki schrieb:
> 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! FYI: You may also have a look at the "AttachmentGroup" subclass of YAM which more or less does the very same: http://svn.sourceforge.net/viewvc/yamos/trunk/src/classes/AttachmentGroup.c?revision=2261&view=markup It also prevents to show up a scrollbar, but in both directions. In addition, it also automatically resizes its MinMax in case more objects are added. cheers, jens -- Jens Langner Ph: +49-351-4716545 Rißweg 27b 01324 Dresden [EMAIL PROTECTED] Germany http://www.jens-langner.de/ 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/
