TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: MARTIN MAAT
date: 1997-09-02 08:30:00
subject: ScrollBar flicker

Hello all.
In a custom visual component I'm working on I have a splitbar (TCustomPanel 
descendant) which enables the user to control how many space the two 
subcontrols get. I did not use TSplitter for I liked the real time feedback 
you get from a "full drag" approach. I had to do some tricks to make it work 
flickerfree, like calling update on the right moments and capturing the 
EraseBkGrnd meassage. Now it looks pretty neat except for the scrollbars 
which seem to paint themselves once more in the old position before they are 
painted again in the new position. They are controled by Windows obviously 
and they seem to "fall behind" in the updating proces somehow. How do I 
control those, move them when I want them to ?
Groeten, Martin.
--- FMail/Win32 1.22
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.