File: wx261.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (37 lines) | stat: -rw-r--r-- 1,867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<HTML>
<head><title>wxWindowDC</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxwindowdc"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx260.htm#wxwindow"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx262.htm#wxzlibinputstream"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxWindowDC</H2>
<P>
A wxWindowDC must be constructed if an application wishes to paint on the
whole area of a window (client and decorations).
This should normally be constructed as a temporary stack object; don't store
a wxWindowDC object.<P>
To draw on a window from inside <B>OnPaint</B>, construct a <A HREF="wx163.htm#wxpaintdc">wxPaintDC</A> object.<P>
To draw on the client area of a window from outside <B>OnPaint</B>, construct a <A HREF="wx43.htm#wxclientdc">wxClientDC</A> object.<P>
To draw on the whole window including decorations, construct a <A HREF="wx261.htm#wxwindowdc">wxWindowDC</A> object
(Windows only).<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx65.htm#wxdc">wxDC</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/dcclient.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx65.htm#wxdc">wxDC</A>, <A HREF="wx137.htm#wxmemorydc">wxMemoryDC</A>, <A HREF="wx163.htm#wxpaintdc">wxPaintDC</A>,
<A HREF="wx43.htm#wxclientdc">wxClientDC</A>, <A HREF="wx200.htm#wxscreendc">wxScreenDC</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic1043">wxWindowDC::wxWindowDC</A><BR>
<P>

<HR>
<A NAME="topic1043"></A>
<H3>wxWindowDC::wxWindowDC</H3>
<P>
<B></B> <B>wxWindowDC</B>(<B>wxWindow*</B><I> window</I>)<P>
Constructor. Pass a pointer to the window on which you wish to paint.<P>
<P>

</BODY></HTML>