wxRuby Documentation Home

Wx::WindowDC

A WindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations such as the toolbar). This class is Windows only.

To draw on a window from inside OnPaint, construct a PaintDC object.

To draw on the client area of a window from outside OnPaint, construct a ClientDC object.

Derived from

DC

See also

DC, MemoryDC, PaintDC, ClientDC, ScreenDC

Methods

WindowDC.new

WindowDC.new(Window window)

Constructor. Pass a pointer to the window on which you wish to paint.

[This page automatically generated from the Textile source at Wed Sep 09 02:21:33 +0100 2009]