Não é mais possível fazer postagens ou usar assinaturas novas da Usenet nos Grupos do Google. O conteúdo histórico continua disponível.
Dismiss

TCommonDialog descendants cause application ficker when used inside ActiveX controls.

0 visualização
Pular para a primeira mensagem não lida

Dave Hamdon

não lida,
26 de mar. de 2001, 18:52:0926/03/2001
para
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 nova mensagem