Hold the dWidget variable beyond the scope of whatever function it is in.... 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... HTH, David C.