the attached demo (TD 6.2) shows how to use LockWindowUpdate to reduce flickering in toolbar fields during content update.
I would be glad, if someone could show how to use it within a normal form window (not inside the toolbar)...
P.S.: My configuration at this time is Windows 7 64 bit with TD 6.2 SP1, haven't done testing with other configurations. I will have a look at Win 8.1 this weekend
FYI to all, here is the description for WIN API LockWindowUpdate(): https://msdn.microsoft.com/en-us/librar ... s.85).aspx
I ran your test app in v6.2 but am not sure I am seeing what you are: I don't get any change in the updating of the time field in the toolbar with either RB clicked. I never see a flicker. I'm running 64-bit Win v8.1. Perhaps the OS version is part of the issue?
Do you see a flicker when the Autotime CB is checked and the field is updated every second? I don't. Kindly clarify.
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/
@Jeff: yes I can see a flicker with rbWithoutLockWindowUpdate checked, the time is flickerless updated while rbWithLockWindowUpdate checked.
@Ewald: You can see the 'action' within the SAM_Timer section of cb1, where I differ the behaviour.
- Founder/Site Admin
- Posts: 484
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
I do not see flickers.
I'm running Win10 64bit.
Could you check which TD theme you are using?
Also the WIndows theme? is it Aero/Glass?
I wanted to add that before but the server refused me ...
At the customer I am working for, Windows 7 Enterprise 64bit is used.
Windows Theme is Windows 7-Basic (not classic).
TD is always on Native Theme...
Who is online
Users browsing this forum: Ccbot [Crawler] and 0 guests