home *** CD-ROM | disk | FTP | other *** search
- #include "my color.h"
-
- invalidate_controls(whichWindow)
- WindowPtr whichWindow;
- {
- Rect grow_rect;
- ControlHandle control;
-
- grow_rect = whichWindow->portRect;
- grow_rect.top = whichWindow->portRect.bottom - BAR_WIDTH;
- grow_rect.left = whichWindow->portRect.right - BAR_WIDTH;
- InvalRect(&grow_rect);
-
- control = ((CWindowPeek)whichWindow)->controlList;
- while(control)
- {
- InvalRect(&(*control)->contrlRect);
- control = (*control)->nextControl;
- }
- }