<div dir="ltr">That worked. Thanks for the tip, David.<div><br></div><div>Sid</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 9:56 AM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hold the dWidget variable beyond the scope of whatever function it is in....<br>
<br>
i.e. -- when the widget goes away, it does not show up anymore. You need to hold the reference alive by maintaining a smart pointer to it at a "more outer" scope. Perhaps attaching it to whatever keeps your renderwindow alive makes sense...<br>
<br>
<br>
HTH,<br>
David C.<br>
<br>
</blockquote></div><br></div>