Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!caen!hertlein@mich.physics.lsa.umich.edu From: hertlein@mich.physics.lsa.umich.edu (Marc Hertlein) Newsgroups: comp.sys.mac.programmer Subject: TCL CScrollBar question (beginner) Message-ID: <2Z#-KHM@engin.umich.edu> Date: 6 Jun 91 01:18:49 GMT Distribution: World Organization: Univ. of Michigan Lines: 16 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. Thanks for any help. - Marc Hertlein