- Code: Select all
vpeControl.ExternalPreview = false;
vpeControl.ToolBar = false;
vpeControl.PageScroller = false;
vpeControl.Rulers = false;
preview is shown with
- Code: Select all
vpeControl.PreviewDoc(vpeControl.Left, vpeControl.Top, vpeControl.Right, vpeControl.Bottom, PreviewState.Normal);
own ToolStripBar with Buttons for Printing, Email, ...
when i call
- Code: Select all
vpeControl.PrintDoc(true);
the PrinterSetup dialog is shown (and looks like active) but has no focus (no hottracking of buttons, etc), so i have to click 2x on Ok or Cancel (first click to activate the dialog, second click to press the button)
the same happens when i call
- Code: Select all
vpeControl.SendKey(KeyFunction.Print);
or
- Code: Select all
vpeControl.SetupPrinter(null, PrintDialogControl.Always | PrintDialogControl.Full);
but if i use
- Code: Select all
vpeControl.SetupPrinter(null, PrintDialogControl.Always);
the simpler dialog is shown and has regular behavior with full focus and all.
any suggestions?
vpe version 4.0.4.5427