Prod.: Engine, ver.: 6009, ID: 60000340, General : Events and PrintPreview dialog in VB6

General : Events and PrintPreview dialog in VB6

Article60000340
TypeGeneral
ProductEngine
Version6009
Date Added12/5/2007
FixedYes [12/6/2007]
Submitted byStavros Meimaroglou
Keywords

Subject

Events and PrintPreview dialog in VB6

Summary

When the PrintPreview dialog is active events (like DrawAfter) do not fire, and this only happens in VB6 when you are in debug mode.

Solution

This problem exist only in Visual Basic 6 when you run the project in debug mode. The compiled exe will not have this problem.

This has to do with backwards COM interop compatibility .