TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ADAM MAJER
from: ALEXEY MOKHOV
date: 1998-01-14 19:56:00
subject: screen blinking - the problem is solved

Hello, Adam!
Your advice to try with fewer buttons was decisive. Thanks a lot.
The bug was found into the dialog constructor:
The last operator of the constructor was the call of some function. This 
function calls another one, wich calls anosher one, ... wich calls Invalidate 
for every button. But dialog constructor is not finished at this moment! No 
parent-child ralationship for dialog window interface elements are set!
Really childs mistake ...
Now I know much better what for we need SetupWindow function.
After replacing the function call from constructor to SetupWindow the desktop 
window is in peace and dialog window with buttons appears 10 times faster.
Alexey
--- GoldED 3.00.Alpha4+
---------------
* Origin: St_1, St.Petersburg Russia (2:5030/155.19)

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™.