htmlhelpcontroller on top?

I have some frames which I need to STAY ON TOP.
They also have help.

Is there a way to force the htmlhelpcontroller dialog to be
on top? the object doesn't have Raise().
Thanks

Phillip Watts wrote:

I have some frames which I need to STAY ON TOP.
They also have help.

Is there a way to force the htmlhelpcontroller dialog to be
on top? the object doesn't have Raise().
Thanks

I think what you want is to call the dialog's ShowModal() method rather than Show(). This applies to all widgets based on wx.Dialog. If it's actually based on a frame, you can use style=wx.STAY_ON_TOP. I think Robin's mentioned using ShowModal in conjunction with wx.Frame, but I'm not sure how that works.

One note of warning when using that frame style (wx.STAY_ON_TOP): I think because all you are specifying is that the frame stay on top, then that will disable the Close, Minimize and Maximize buttons, so it would be better to set the style to:

wx.STAY_ON_TOP | wx.DEFAULT_FRAME_STYLE

Hope that helps!

Mike