Hello, All!
I begin to use OWL5.0 in my applications and have found already one
interesting phenomena:
One of my dialog contains a lot of buttons. The amount of buttons depend on
data and is usually 100-200. I create these buttons in dialog-constructor by
operator new. All is working properly I have no complains to data treatment.
But screen is blinking during this constructor work (3-8 second). Allways
desctop icons are blinking (also elements of Windows taskbar and MSOffice
shortcut bar). Sometimes (not allways) my application frame window elements
are blinking (I use MDI-interface) but never contents of active MDIChild
window (it is erased at dialog-constructor start and painted again only afer
it is finished).
It looks like all screen is beeng repaint after generation of every new
button. But who is generating WM_PAINT message (I am not experienced user and
do not use WinSpector)? I have failed to understand also why this message is
treated by desctop window.
Probably somebody have met this problem before, understand what is happening
and knows how to suppress blinking. I will be glad to get any advice.
Thanks in advance,
Sorry for my English,
Alexey
--- GoldED 3.00.Alpha4+
---------------
* Origin: St_1, St.Petersburg Russia (2:5030/155.19)
|