Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCommonDialog descendants cause application ficker when used inside ActiveX controls.

0 views
Skip to first unread message

Dave Hamdon

unread,
Mar 26, 2001, 6:52:09 PM3/26/01
to
I have an application which is just ActiveX control inside a C++
application. When I try to use dialogs(color, Font etc) it cause the
entire container application to momentarily show applications in the
background (ficker).
I narrowed it down to these lines, found in Dialogs.pas
(TCommonDialog.TaskModalDialog method)

WindowList := DisableTaskWindows(0);

EnableTaskWindows(WindowList);

I can remove the lines but then the dialogs are not application modal.
You are probably thinking I should have overridden the TaskModalDialog
method but I Can't because it initializes an internal implementation only
global variable. Yuk!

Anyway, can anyone tell me how to stop the flicker when using TComonDialog
descendants inside an ActiveX control?


0 new messages