Possible to rotate a wx.Frame?

I have a wx.Frame, and its being displayed on a rotated monitor, so I need to rotate it 90 degrees.

Is that possible? I’m not seeing any rotation options in the documentation.

Can anyone think of a way to achieve this?

Thanks for any help.

Use the video driver to rotate your display.

  • Mike
···

On Thursday, August 15, 2013 12:41:32 PM UTC-5, wrybread wrote:

I have a wx.Frame, and its being displayed on a rotated monitor, so I need to rotate it 90 degrees.

Is that possible? I’m not seeing any rotation options in the documentation.

Can anyone think of a way to achieve this?

Thanks for any help.

Alas not possible / practical for this installation.

···

On Aug 20, 2013, at 1:52 PM, Mike Driscoll kyosohma@gmail.com wrote:

On Thursday, August 15, 2013 12:41:32 PM UTC-5, wrybread wrote:

I have a wx.Frame, and its being displayed on a rotated monitor, so I need to rotate it 90 degrees.

Is that possible? I’m not seeing any rotation options in the documentation.

Can anyone think of a way to achieve this?

Thanks for any help.

Use the video driver to rotate your display.

It’s an unusual request. Usually, when you have a rotated frame
buffer, the driver is involved in the rotation, so it rotates the
windows along with the desktop. If you’re trying to display a
window on a monitor that has been rotated without the knowledge or
involvement of the graphics card, then there’s really no help
available. You’re going to need to render yourself into an
in-memory bitmap (maybe using BufferedPaintDC?), then rotate the
bitmap and display it. You’ll also have to pre-process all of your
mouse clicks.

···

Alec Bennett wrote:

On Aug 20, 2013, at 1:52 PM, Mike Driscoll <kyosohma@gmail.com >
wrote:

        On Thursday, August 15, 2013 12:41:32 PM UTC-5,

wrybread wrote:

            I have a wx.Frame, and its being displayed

on a rotated monitor, so I need to rotate it 90 degrees.

              Is that possible? I'm not seeing any rotation

options in the documentation.

Can anyone think of a way to achieve this?

          Use the video driver to rotate your display.

Alas not possible / practical for this installation.

-- Tim Roberts, Providenza & Boekelheide, Inc.

timr@probo.com