File: wx185.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 (75 lines) | stat: -rw-r--r-- 2,357 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<HTML>
<head><title>wxProcessEvent</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxprocessevent"></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="wx184.htm#wxprocess"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx186.htm#wxprotocol"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxProcessEvent</H2>
<P>
A process event is sent when a process is terminated.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx84.htm#wxevent">wxEvent</A><BR>

<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/process.h&gt;<P>
<B><FONT COLOR="#FF0000">Event table macros</FONT></B><P>
To process a wxProcessEvent, use these event handler macros to direct input to a member
function that takes a wxProcessEvent argument.<P>


<TABLE>


<TR><TD VALIGN=TOP>
<B>EVT_END_PROCESS(id, func)</B>
</TD>

<TD VALIGN=TOP>
Process a wxEVT_END_PROCESS event.
<I>id</I> is the identifier of the process object (the id passed to the wxProcess constructor)
or a window to receive the event.
</TD></TR>


</TABLE>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx184.htm#wxprocess">wxProcess</A>,
<A HREF="wx299.htm#eventhandlingoverview">Event handling overview</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic681">wxProcessEvent::wxProcessEvent</A><BR>
<A HREF="#topic682">wxProcessEvent::m_pid</A><BR>
<A HREF="#wxprocesseventgetpid">wxProcessEvent::GetPid</A><BR>
<A HREF="#wxprocesseventsetpid">wxProcessEvent::SetPid</A><BR>
<P>

<HR>
<A NAME="topic681"></A>
<H3>wxProcessEvent::wxProcessEvent</H3>
<P>
<B></B> <B>wxProcessEvent</B>(<B>int </B><I>id = 0</I>, <B>int </B><I>pid = 0</I>)<P>
Constructor. Takes a wxProcessObject or window id, and a process id.<P>

<HR>
<A NAME="topic682"></A>
<H3>wxProcessEvent::m_pid</H3>
<P>
int m_pid<P>
Contains the process id.<P>

<HR>
<A NAME="wxprocesseventgetpid"></A>
<H3>wxProcessEvent::GetPid</H3>
<P>
<B>int</B> <B>GetPid</B>() <B>const</B><P>
Returns the process id.<P>

<HR>
<A NAME="wxprocesseventsetpid"></A>
<H3>wxProcessEvent::SetPid</H3>
<P>
<B>void</B> <B>SetPid</B>(<B>int</B><I> pid</I>)<P>
Sets the process id.<P>

</BODY></HTML>