<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 12pt; font-family: "Times New Roman",Times,serif'>
<p>Bel,</p>
<p>There is one point that is not clear to me in your question. Do you want the messages that would have been shown when vtkOutputWindow is hidden to be discarded or to be shown when you unhide it?</p>
<p>If you want it to be discarded, I suppose you could redirect it to /dev/null on Unix or to nul on Windows and delete the redirection when you want to unhide the window.</p>
<p>If you just want to delay the output, maybe, you could redirect the messages to an <span>vtkStringOutputWindow to store the messages on a string and when you want to show then, delete the redirection and call DisplayText passing the string where you stored the messages. I never tried this, but it seems reasonable to me.</span></p>
<div>Best regards,</div>
<div>---<br />
<table style="min-width: 500px; min-height: 150px; background-color: #ffffff;">
<tbody>
<tr bgcolor="#ffffff">
<td style="width: 210px; height: auto; background-color: #ffffff;" align="center"><img src="http://medilab.net.br/wp-content/uploads/2016/11/logo-medilab.png" alt="" width="150" height="46px" /></td>
<td style="border-left: 1px solid #404041;" width="20"> </td>
<td style="width: 400px; height: auto; background-color: #ffffff; font-family: 'Open Sans', sans-serif, segoe; color: #404041; margin-left: 10px;">
<div class="sct-i" style="width: 100%; height: 37.5px; background-color: #ffffff; float: left;">
<p style="font-size: 22px; margin: 0; color: #404041;"><strong>Lucas</strong> Frucht<small style="font-size: 10px;"> Desenvolvimento</small></p>
</div>
<div class="sct-ii" style="width: 100%; height: 37.5px; background-color: #ffffff; float: left; text-decoration: none; color: #404041;">
<p style="font-size: 12px; color: #404041; text-decoration: none;"><img style="margin-right: 5px;" src="http://medilab.net.br/wp-content/uploads/2017/01/assinatura_de_email_V2-02.jpg" alt="" width="15" height="auto" /><small style="color: #fff;">_</small>lucas.frucht@medilabsistemas.com.br</p>
</div>
<div class="sct-iii" style="width: 100%; height: 37.5px; background-color: #ffffff; float: left;">
<p style="font-size: 12px; color: #404041;"><img style="margin-right: 5px;" src="http://medilab.net.br/wp-content/uploads/2017/01/assinatura_de_email_V2-03.jpg" alt="" width="15" height="auto" /><small style="color: #fff;">_</small>www.medilabsistemas.com.br</p>
</div>
<div class="sct-iv" style="width: 100%; height: 37.5px; background-color: #ffffff; float: left;">
<p style="font-size: 12px; color: #404041;"><img style="margin-right: 5px;" src="http://medilab.net.br/wp-content/uploads/2017/01/assinatura_de_email_V2-04.jpg" alt="" width="15" height="auto" /><small style="color: #fff;">_</small>+55 21 3294-3600</p>
</div>
</td>
</tr>
</tbody>
</table>
<table style="min-width: 220px; min-height: 50px;">
<tbody>
<tr align="center">
<td><a style="text-decoration: none; color: #404041; font-family: 'Open Sans',sans-serif,segoe; margin-right: 10px;" href="https://www.facebook.com/MedilabSistemas/?fref=ts"><img src="http://medilab.net.br/wp-content/uploads/2016/12/icon_facebook_cor.png" alt="" width="17" /></a><small style="color: #fff;">__</small></td>
<td><a style="text-decoration: none; color: #404041; font-family: 'Open Sans',sans-serif,segoe; margin-right: 10px;" href="https://twitter.com/SistemasMedilab"><img src="http://medilab.net.br/wp-content/uploads/2016/12/icon_twitter_cor.png" alt="" width="17" /></a><small style="color: #fff;">__</small></td>
<td><a style="text-decoration: none; color: #404041; font-family: 'Open Sans',sans-serif,segoe; margin-right: 10px;" href="https://www.linkedin.com/company/2242648?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2242648%2Cidx%3A2-2-7%2CtarId%3A1478877733074%2Ctas%3Amedilab"><img src="http://medilab.net.br/wp-content/uploads/2016/12/icon_linkedin_cor.png" alt="" width="17" /> </a><small style="color: #fff;">__</small></td>
<td><a style="text-decoration: none; color: #404041; font-family: 'Open Sans',sans-serif,segoe; margin-right: 10px;" href="https://www.youtube.com/channel/UCOp5wBk9ku_r7XZ32OAajVA"><img src="http://medilab.net.br/wp-content/uploads/2017/01/logo-YouTube_Play.png" alt="" width="17" /></a><small style="color: #fff;">__</small></td>
<td><a style="text-decoration: none; color: #404041; font-family: 'Open Sans',sans-serif,segoe; margin-right: 10px;" href="http://medilab.net.br/"><img src="http://medilab.net.br/wp-content/uploads/2017/01/MedilabSistemas.png" alt="" width="17" /></a><small style="color: #fff;">__</small></td>
</tr>
</tbody>
</table>
</div>
<p> </p>
<p>Em 07/08/2018 19:15, Bel escreveu:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">How can I hide vtkOutputWindow? No suppress by<br /> vtkObject::GlobalWarningDisplayOff() or redirect output to file, but only<br /> hide. (And show again after some time by something<br /> likevtkOutputWindow::GetInstance()->DisplayText(" ")). Thanks.<br /> <br /> <br /> <br /> --<br /> Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br /> _______________________________________________<br /> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br /> <br /> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br /> <br /> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br /> <br /> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br /> <br /> Follow this link to subscribe/unsubscribe:<br /> <a href="https://public.kitware.com/mailman/listinfo/vtkusers">https://public.kitware.com/mailman/listinfo/vtkusers</a></div>
</blockquote>
</body></html>