Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!linus!linus!mbunix.mitre.org!gmarzot From: gmarzot@mbunix.mitre.org (Gio Marzot) Newsgroups: comp.sys.mac.programmer Subject: Re: Think C CPanoramas Message-ID: <127554@linus.mitre.org> Date: 4 Jan 91 14:23:37 GMT References: <1991Jan4.065642.13087@morrow.stanford.edu> Sender: usenet@linus.mitre.org Organization: The MITRE Corporation Lines: 23 Nntp-Posting-Host: gmarzot.mitre.org In article <1991Jan4.065642.13087@morrow.stanford.edu> craig@pangea.Stanford.EDU (Craig Jarchow) writes: > I have an instance of the CPane class which is attempting to resize its > enclosing CPanorama. To do this, my CPane object issues the following > messages to the CPanorama: > > ((CPanorama *)itsEnclosure)->ResizeFrame(&deltaRamaRect); > ((CPanorama *)itsEnclosure)->GetFrame(&theRamaFrame); > ((CPanorama *)itsEnclosure)->SetBounds(&theRamaFrame); > > The CPanorama's frame seems to be properly sized by these calls, but my > scroll bars go blank and are inoperative. I've been using the TCL in pascal for a couple months now so as one begginner to another this is my guess. If the panorama's dimensions are being reduced so that the entire panorama can be viewed in its enclosure, the scroll pane, then the scroll bars are deactivated. As a check you might examine the dimensions of the panorama relative to its enclosure. You also might try sizing the window down and see if the bars become active again. I'll be curious to know how it goes - GoodLuck , GSM Responsibility for the views expressed here belongs only to myself and not to any organization.