ShowDialog() method of a VSTA Form results in the runtime no longer displaying the screen sin the background, when Multi-Touch is enabled for the project.
Summary
With a Form in VSTA in a project with Multi-Touch enabled, the sreens in the background are no longer displayed correctly when the ShowDialog() method of the form is called.
public void Macro_Open()
{
Form1 f = new Form1();
f.ShowDialog();
}
the zenon Pictures disappears on the
monitor.
Description
With a Form in VSTA in a project with Multi-Touch enabled, the sreens in the background are no longer displayed correctly when the ShowDialog() method of the form is called.
public void Macro_Open()
{
Form1 f = new Form1();
f.ShowDialog();
}
the zenon Pictures disappears on the
monitor.
Solution
An issue was addressed in the runtime where the Multi-Touch functionality stopped the drawing of the screens when a VSTA form was displayed. Now the screens in the background are also correctly drawn when the VSTA form is opened and the project has the Multi-Touch option enabled.
Information
As a workaround the form could be opened in a separate thread, but in this case it is not possible to open a Form as a modal dialog in the runtime
Issue Number: 28073
Fixed on Date: 30.10.2012
Versions: 7.00 0 BUILD 4