return new Point (width, rbBand.cyMinChild);
return new Point (width, rbBand.cyMaxChild);
public Point getPreferredSize () {	checkWidget ();	int index = parent.indexOf (this);	if (index == -1) return new Point (0, 0);	int hwnd = parent.handle;	REBARBANDINFO rbBand = new REBARBANDINFO ();	rbBand.cbSize = REBARBANDINFO.sizeof;	rbBand.fMask = OS.RBBIM_CHILDSIZE | OS.RBBIM_IDEALSIZE;	OS.SendMessage (hwnd, OS.RB_GETBANDINFO, index, rbBand);	int width = rbBand.cxIdeal + parent.getMargin (index);	return new Point (width, rbBand.cyMinChild);}