private void launchReport() {
cMouseWait mouse = new cMouseWait();
try {
setZOrder();
showProgressDlg();
m_report.getLaunchInfo().getPrinter().setPaperInfo(m_report.getPaperInfo());
m_report.getLaunchInfo().setObjPaint(new CSReportPaint.cReportPrint());
// TODO: remove this
m_report.getLaunchInfo().setHwnd(0);
m_report.getLaunchInfo().setShowPrintersDialog(true);
m_report.launch();
} catch (Exception ex) {
cError.mngError(ex, "launchReport", C_MODULE, "");
}
finally {
mouse.Dispose();
closeProgressDlg();
}
}