(Marc Hertlein) (06/06/91)
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
hertlein@mich.physics.lsa.umich.edu (Marc Hertlein) (06/06/91)
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
Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) (06/08/91)
Marc Hertlein writes in a message to All MH> Basically I have a window with a pane, which contains another MH> pane and some scroll bars. Everything works as it should, but MH> when I try to drag the thumb in the bars, the thumb outline is MH> not drawn while dragging. Upon releasing the mouse button, the MH> thumb jumps to where I released it though When you say "pane," you mean "panorama," right? Also, are you remembering to InstallPanorama correctly? The various samples provided with the TCL's (TinyEdit, ArtClass) should show you the proper syntax. Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org