Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!news From: (Marc Hertlein) Newsgroups: comp.sys.mac.programmer Subject: TCL CScrollBar question (beginner) Message-ID: Date: 6 Jun 91 00:22:33 GMT Organization: The University of Michigan, Ann Arbor Lines: 15 I am trying to write a THINK C program (with TCL) using simple scrollbars. Basically I have a window with a pane, which contains another pane and some scroll bars. Everything works as it should, but when I try to drag the thumb in the bars, the thumb outline is not drawn while dragging. Upon releasing the mouse button, the thumb jumps to where I released it though. However, as soon as I draw something in the inner subpane, the scroll bars work correctly, i.e. with thumb outline dragging. I noticed that the bars work right as soon as I call PenNormal(). If my window gets deactivated under Multifinder, I'm back to the old problem. Am I forgetting to initialize some part of the scrollbar? I tried to look into other programs, which work fine, but I don't know what I'm doing wrong. - Marc Hertlein