source: trunk/source/interfaces/html/classG4UIWin32.html@ 872

Last change on this file since 872 was 571, checked in by garnier, 18 years ago

r581@mac-90108: laurentgarnier | 2007-08-17 17:30:26 +0200
deplacement de frame

  • Property svn:mime-type set to text/html
File size: 85.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>G4UIWin32 class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.3.4 -->
7<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8<h1>G4UIWin32 Class Reference</h1><code>#include &lt;<a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>&gt;</code>
9<p>
10Inheritance diagram for G4UIWin32:<p><center><img src="classG4UIWin32__inherit__graph.png" border="0" usemap="#G4UIWin32__inherit__map" alt="Inheritance graph"></center>
11<map name="G4UIWin32__inherit__map">
12<area href="classG4VBasicShell.html" shape="rect" coords="8,8,218,392" alt="">
13<area href="classG4VInteractiveSession.html" shape="rect" coords="242,112,426,288" alt="">
14</map>
15<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for G4UIWin32:<p><center><img src="classG4UIWin32__coll__graph.png" border="0" usemap="#G4UIWin32__coll__map" alt="Collaboration graph"></center>
16<map name="G4UIWin32__coll__map">
17<area href="classG4VBasicShell.html" shape="rect" coords="8,184,218,568" alt="">
18<area href="classG4VInteractiveSession.html" shape="rect" coords="242,288,426,464" alt="">
19<area href="classG4VInteractorManager.html" shape="rect" coords="450,8,672,744" alt="">
20</map>
21<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classG4UIWin32-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
22<tr><td></td></tr>
23<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
24<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a0">G4UIWin32</a> ()</td></tr>
25
26<tr><td class="memItemLeft" nowrap align=right valign=top>G4UIsession *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a1">SessionStart</a> ()</td></tr>
27
28<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a2">AddMenu</a> (const char *, const char *)</td></tr>
29
30<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a3">AddButton</a> (const char *, const char *, const char *)</td></tr>
31
32<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a4">~G4UIWin32</a> ()</td></tr>
33
34<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a5">Prompt</a> (G4String)</td></tr>
35
36<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a6">SessionTerminate</a> ()</td></tr>
37
38<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a7">PauseSessionStart</a> (G4String)</td></tr>
39
40<tr><td class="memItemLeft" nowrap align=right valign=top>G4int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a8">ReceiveG4cout</a> (G4String)</td></tr>
41
42<tr><td class="memItemLeft" nowrap align=right valign=top>G4int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a9">ReceiveG4cerr</a> (G4String)</td></tr>
43
44<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a10">GetCommand</a> (int)</td></tr>
45
46<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a11">TextAppendString</a> (char *)</td></tr>
47
48<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
49<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d0">SecondaryLoop</a> (G4String)</td></tr>
50
51<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d1">GetHelpChoice</a> (G4int &amp;)</td></tr>
52
53<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d2">ExitHelp</a> ()</td></tr>
54
55<tr><td colspan=2><br><h2>Static Private Member Functions</h2></td></tr>
56<tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h0">MainWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr>
57
58<tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h1">TextWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr>
59
60<tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h2">EditWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr>
61
62<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
63<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4VInteractorManager.html">G4VInteractorManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r0">interactorManager</a></td></tr>
64
65<tr><td class="memItemLeft" nowrap align=right valign=top>HWND&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r1">mainWindow</a></td></tr>
66
67<tr><td class="memItemLeft" nowrap align=right valign=top>HWND&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r2">textWindow</a></td></tr>
68
69<tr><td class="memItemLeft" nowrap align=right valign=top>HWND&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r3">editWindow</a></td></tr>
70
71<tr><td class="memItemLeft" nowrap align=right valign=top>HMENU&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r4">menuBar</a></td></tr>
72
73<tr><td class="memItemLeft" nowrap align=right valign=top>HMENU&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r5">defaultMenu</a></td></tr>
74
75<tr><td class="memItemLeft" nowrap align=right valign=top>std::map&lt; int, G4String, std::less&lt;<br>
76 int &gt; &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r6">commands</a></td></tr>
77
78<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r7">textBuffer</a></td></tr>
79
80<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r8">textRows</a></td></tr>
81
82<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r9">textCols</a></td></tr>
83
84<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r10">fHelp</a></td></tr>
85
86<tr><td class="memItemLeft" nowrap align=right valign=top>G4int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r11">fHelpChoice</a></td></tr>
87
88<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4String &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r12">fHistory</a></td></tr>
89
90<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r13">fHistoryPos</a></td></tr>
91
92</table>
93<hr><h2>Constructor &amp; Destructor Documentation</h2>
94<a class="anchor" name="a0" doxytag="G4UIWin32::G4UIWin32" ></a><p>
95<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
96 <tr>
97 <td class="mdRow">
98 <table cellpadding="0" cellspacing="0" border="0">
99 <tr>
100 <td class="md" nowrap valign="top"> G4UIWin32::G4UIWin32 </td>
101 <td class="md" valign="top">(&nbsp;</td>
102 <td class="mdname1" valign="top" nowrap> </td>
103 <td class="md" valign="top">&nbsp;)&nbsp;</td>
104 <td class="md" nowrap></td>
105 </tr>
106
107 </table>
108 </td>
109 </tr>
110</table>
111<table cellspacing=5 cellpadding=0 border=0>
112 <tr>
113 <td>
114 &nbsp;
115 </td>
116 <td>
117
118<p>
119!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
120<p>
121Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00182">182</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
122<p>
123References <a class="el" href="G4UIWin32_8hh-source.html#l00099">defaultMenu</a>, <a class="el" href="G4Win32_8cc-source.html#l00046">G4Win32::getInstance()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00169">mainClassName</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00099">menuBar</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00170">textClassName</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00529">TextWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00174">tmpSession</a>.
124<p>
125<div class="fragment"><pre>00184 :<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>(NULL)
12600185 ,<a class="code" href="classG4UIWin32.html#r2">textWindow</a>(NULL)
12700186 ,<a class="code" href="classG4UIWin32.html#r3">editWindow</a>(NULL)
12800187 ,<a class="code" href="classG4UIWin32.html#r4">menuBar</a>(NULL)
12900188 ,<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>(NULL)
13000189 ,<a class="code" href="classG4UIWin32.html#r9">textCols</a>(80)
13100190 ,<a class="code" href="classG4UIWin32.html#r8">textRows</a>(12)
13200191 ,<a class="code" href="classG4UIWin32.html#r10">fHelp</a>(<span class="keyword">false</span>)
13300192 ,<a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>(0)
13400193 ,<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>(-1)
13500194 <span class="comment">/***************************************************************************/</span>
13600196 {
13700197 G4UImanager* UI = G4UImanager::GetUIpointer();
13800198 <span class="keywordflow">if</span>(UI!=NULL) UI-&gt;SetSession(<span class="keyword">this</span>);
13900199
14000200 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a> = <a class="code" href="classG4Win32.html#e0">G4Win32::getInstance</a> ();
14100201 <span class="keyword">static</span> G4bool Done = FALSE;
14200202 <span class="keywordflow">if</span>(Done==FALSE) {
14300203 WNDCLASS wc;
14400204 wc.style = CS_HREDRAW | CS_VREDRAW;
14500205 wc.lpfnWndProc = (WNDPROC)<a class="code" href="classG4UIWin32.html#h0">G4UIWin32::MainWindowProc</a>;
14600206 wc.cbClsExtra = 0;
14700207 wc.cbWndExtra = 0;
14800208 wc.hInstance = ::GetModuleHandle(NULL);
14900209 wc.hIcon = LoadIcon(NULL,IDI_APPLICATION);
15000210 wc.hCursor = LoadCursor(NULL,IDC_ARROW);
15100211 wc.hbrBackground = GetStockBrush(WHITE_BRUSH);
15200212 wc.lpszMenuName = <a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>;
15300213 wc.lpszClassName = <a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>;
15400214 ::RegisterClass (&amp;wc);
15500215
15600216 wc.style = CS_HREDRAW | CS_VREDRAW;
15700217 wc.lpfnWndProc = (WNDPROC)<a class="code" href="classG4UIWin32.html#h1">G4UIWin32::TextWindowProc</a>;
15800218 wc.cbClsExtra = 0;
15900219 wc.cbWndExtra = 0;
16000220 wc.hInstance = ::GetModuleHandle(NULL);
16100221 wc.hIcon = LoadIcon(NULL,IDI_APPLICATION);
16200222 wc.hCursor = LoadCursor(NULL,IDC_ARROW);
16300223 wc.hbrBackground = GetStockBrush(WHITE_BRUSH);
16400224 wc.lpszMenuName = <a class="code" href="G4UIWin32_8cc.html#a1">textClassName</a>;
16500225 wc.lpszClassName = <a class="code" href="G4UIWin32_8cc.html#a1">textClassName</a>;
16600226 ::RegisterClass (&amp;wc);
16700227 Done = TRUE;
16800228 }
16900229
17000230 <a class="code" href="classG4UIWin32.html#r4">menuBar</a> = CreateMenu();
17100231 <a class="code" href="classG4UIWin32.html#r5">defaultMenu</a> = CreatePopupMenu();
17200232 AppendMenu(menuBar,MF_POPUP,(UINT)defaultMenu,<span class="stringliteral">"Geant4"</span>);
17300233
17400234 <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = <span class="keyword">new</span> <a class="code" href="classTextBuffer.html">TextBuffer</a>();
17500235
17600236 <a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a> = <span class="keyword">this</span>;
17700237 <a class="code" href="classG4UIWin32.html#r1">mainWindow</a> = ::CreateWindow(<a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>,<a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>,
17800238 WS_OVERLAPPEDWINDOW,
17900239 CW_USEDEFAULT,CW_USEDEFAULT,
18000240 0,0,
18100241 NULL,<a class="code" href="classG4UIWin32.html#r4">menuBar</a>,
18200242 ::GetModuleHandle(NULL),
18300243 NULL);
18400244 <a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a> = NULL;
18500245 ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,GWL_USERDATA,LONG(<span class="keyword">this</span>));
18600246
18700247 ::SetForegroundWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>);
18800248 ::ShowWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,SW_SHOWDEFAULT);
18900249 ::UpdateWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>);
19000250
19100251 <span class="keywordflow">if</span>(UI!=NULL) UI-&gt;SetCoutDestination(<span class="keyword">this</span>);
19200252 }
193</pre></div> </td>
194 </tr>
195</table>
196
197<p>
198Here is the call graph for this function:<p><center><img src="classG4UIWin32_a0_cgraph.png" border="0" usemap="#classG4UIWin32_a0_cgraph_map" alt=""></center>
199<map name="classG4UIWin32_a0_cgraph_map">
200<area href="classG4Win32.html#e0" shape="rect" coords="247,33,402,59" alt="">
201<area href="classG4UIWin32.html#h0" shape="rect" coords="223,109,426,135" alt="">
202<area href="classG4UIWin32.html#h1" shape="rect" coords="226,337,423,363" alt="">
203<area href="classG4Win32.html#d0" shape="rect" coords="515,7,657,34" alt="">
204<area href="classG4VBasicShell.html#b10" shape="rect" coords="746,83,989,110" alt="">
205<area href="classG4UIWin32.html#h2" shape="rect" coords="489,109,683,135" alt="">
206<area href="classG4UIWin32.html#a10" shape="rect" coords="497,159,675,186" alt="">
207<area href="classTextBuffer.html#a7" shape="rect" coords="475,210,697,237" alt="">
208<area href="classTextBuffer.html#a11" shape="rect" coords="527,261,645,287" alt="">
209<area href="classTextBuffer.html#a5" shape="rect" coords="498,311,674,338" alt="">
210<area href="classTextBuffer.html#a6" shape="rect" coords="478,362,694,389" alt="">
211<area href="classTextBuffer.html#a8" shape="rect" coords="475,413,697,439" alt="">
212<area href="classTextBuffer.html#a9" shape="rect" coords="483,463,689,490" alt="">
213<area href="classTextBuffer.html#a4" shape="rect" coords="498,514,674,541" alt="">
214</map>
215<a class="anchor" name="a4" doxytag="G4UIWin32::~G4UIWin32" ></a><p>
216<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
217 <tr>
218 <td class="mdRow">
219 <table cellpadding="0" cellspacing="0" border="0">
220 <tr>
221 <td class="md" nowrap valign="top"> G4UIWin32::~<a class="el" href="classG4UIWin32.html">G4UIWin32</a> </td>
222 <td class="md" valign="top">(&nbsp;</td>
223 <td class="mdname1" valign="top" nowrap> </td>
224 <td class="md" valign="top">&nbsp;)&nbsp;</td>
225 <td class="md" nowrap></td>
226 </tr>
227
228 </table>
229 </td>
230 </tr>
231</table>
232<table cellspacing=5 cellpadding=0 border=0>
233 <tr>
234 <td>
235 &nbsp;
236 </td>
237 <td>
238
239<p>
240!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
241<p>
242Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00254">254</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
243<p>
244References <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>.
245<p>
246<div class="fragment"><pre>00258 {
24700259 G4UImanager* UI = G4UImanager::GetUIpointer();
24800260 <span class="keywordflow">if</span>(UI!=NULL) {
24900261 UI-&gt;SetSession(NULL);
25000262 UI-&gt;SetCoutDestination(NULL);
25100263 }
25200264 <span class="keyword">delete</span> <a class="code" href="classG4UIWin32.html#r7">textBuffer</a>;
25300265 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>!=NULL) ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>,GWL_USERDATA,LONG(NULL));
25400266 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>!=NULL) {
25500267 ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,GWL_USERDATA,LONG(NULL));
25600268 ::DestroyWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>);
25700269 }
25800270 }
259</pre></div> </td>
260 </tr>
261</table>
262<hr><h2>Member Function Documentation</h2>
263<a class="anchor" name="a3" doxytag="G4UIWin32::AddButton" ></a><p>
264<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
265 <tr>
266 <td class="mdRow">
267 <table cellpadding="0" cellspacing="0" border="0">
268 <tr>
269 <td class="md" nowrap valign="top"> void G4UIWin32::AddButton </td>
270 <td class="md" valign="top">(&nbsp;</td>
271 <td class="md" nowrap valign="top">const char *&nbsp;</td>
272 <td class="mdname" nowrap> <em>a_menu</em>, </td>
273 </tr>
274 <tr>
275 <td></td>
276 <td></td>
277 <td class="md" nowrap>const char *&nbsp;</td>
278 <td class="mdname" nowrap> <em>a_label</em>, </td>
279 </tr>
280 <tr>
281 <td></td>
282 <td></td>
283 <td class="md" nowrap>const char *&nbsp;</td>
284 <td class="mdname" nowrap> <em>a_command</em></td>
285 </tr>
286 <tr>
287 <td></td>
288 <td class="md">)&nbsp;</td>
289 <td class="md" colspan="2"><code> [virtual]</code></td>
290 </tr>
291
292 </table>
293 </td>
294 </tr>
295</table>
296<table cellspacing=5 cellpadding=0 border=0>
297 <tr>
298 <td>
299 &nbsp;
300 </td>
301 <td>
302
303<p>
304!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
305<p>
306Reimplemented from <a class="el" href="classG4VInteractiveSession.html#a3">G4VInteractiveSession</a>.
307<p>
308Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00407">407</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
309<p>
310References <a class="el" href="G4UIWin32_8cc-source.html#l00179">actionIdentifier</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00100">commands</a>, and <a class="el" href="G4VInteractiveSession_8cc-source.html#l00062">G4VInteractiveSession::GetInteractor()</a>.
311<p>
312<div class="fragment"><pre>00414 {
31300415 <span class="keywordflow">if</span>(a_menu==NULL) <span class="keywordflow">return</span>;
31400416 <span class="keywordflow">if</span>(a_label==NULL) <span class="keywordflow">return</span>;
31500417 <span class="keywordflow">if</span>(a_command==NULL) <span class="keywordflow">return</span>;
31600418 HMENU hMenu = (HMENU)<a class="code" href="classG4VInteractiveSession.html#a5">GetInteractor</a>(a_menu);
31700419 <a class="code" href="G4UIWin32_8cc.html#a7">actionIdentifier</a>++;
31800420 <a class="code" href="classG4UIWin32.html#r6">commands</a>[<a class="code" href="G4UIWin32_8cc.html#a7">actionIdentifier</a>] = a_command;
31900421 AppendMenu (hMenu,MF_STRING,actionIdentifier,a_label);
32000422 }
321</pre></div> </td>
322 </tr>
323</table>
324
325<p>
326Here is the call graph for this function:<p><center><img src="classG4UIWin32_a3_cgraph.png" border="0" usemap="#classG4UIWin32_a3_cgraph_map" alt=""></center>
327<map name="classG4UIWin32_a3_cgraph_map">
328<area href="classG4VInteractiveSession.html#a5" shape="rect" coords="216,8,458,34" alt="">
329</map>
330<a class="anchor" name="a2" doxytag="G4UIWin32::AddMenu" ></a><p>
331<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
332 <tr>
333 <td class="mdRow">
334 <table cellpadding="0" cellspacing="0" border="0">
335 <tr>
336 <td class="md" nowrap valign="top"> void G4UIWin32::AddMenu </td>
337 <td class="md" valign="top">(&nbsp;</td>
338 <td class="md" nowrap valign="top">const char *&nbsp;</td>
339 <td class="mdname" nowrap> <em>a_name</em>, </td>
340 </tr>
341 <tr>
342 <td></td>
343 <td></td>
344 <td class="md" nowrap>const char *&nbsp;</td>
345 <td class="mdname" nowrap> <em>a_label</em></td>
346 </tr>
347 <tr>
348 <td></td>
349 <td class="md">)&nbsp;</td>
350 <td class="md" colspan="2"><code> [virtual]</code></td>
351 </tr>
352
353 </table>
354 </td>
355 </tr>
356</table>
357<table cellspacing=5 cellpadding=0 border=0>
358 <tr>
359 <td>
360 &nbsp;
361 </td>
362 <td>
363
364<p>
365!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
366<p>
367Reimplemented from <a class="el" href="classG4VInteractiveSession.html#a2">G4VInteractiveSession</a>.
368<p>
369Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00389">389</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
370<p>
371References <a class="el" href="G4VInteractiveSession_8cc-source.html#l00055">G4VInteractiveSession::AddInteractor()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00099">defaultMenu</a>, <a class="el" href="G4VInteractorManager_8hh-source.html#l00038">G4Interactor</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00099">menuBar</a>.
372<p>
373<div class="fragment"><pre>00395 {
37400396 <span class="keywordflow">if</span>(a_name==NULL) <span class="keywordflow">return</span>;
37500397 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r5">defaultMenu</a>!=NULL) {
37600398 DeleteMenu (menuBar,0,MF_BYPOSITION);
37700399 <a class="code" href="classG4UIWin32.html#r5">defaultMenu</a> = NULL;
37800400 }
37900401 HMENU hMenu = CreatePopupMenu();
38000402 AppendMenu(menuBar,MF_POPUP,(UINT)hMenu,a_label);
38100403 <a class="code" href="classG4VInteractiveSession.html#a4">AddInteractor</a>(a_name,(<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>)hMenu);
38200404 DrawMenuBar(mainWindow);
38300405 }
384</pre></div> </td>
385 </tr>
386</table>
387
388<p>
389Here is the call graph for this function:<p><center><img src="classG4UIWin32_a2_cgraph.png" border="0" usemap="#classG4UIWin32_a2_cgraph_map" alt=""></center>
390<map name="classG4UIWin32_a2_cgraph_map">
391<area href="classG4VInteractiveSession.html#a4" shape="rect" coords="210,8,456,34" alt="">
392</map>
393<a class="anchor" name="h2" doxytag="G4UIWin32::EditWindowProc" ></a><p>
394<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
395 <tr>
396 <td class="mdRow">
397 <table cellpadding="0" cellspacing="0" border="0">
398 <tr>
399 <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::EditWindowProc </td>
400 <td class="md" valign="top">(&nbsp;</td>
401 <td class="md" nowrap valign="top">HWND&nbsp;</td>
402 <td class="mdname" nowrap> <em>a_window</em>, </td>
403 </tr>
404 <tr>
405 <td></td>
406 <td></td>
407 <td class="md" nowrap>UINT&nbsp;</td>
408 <td class="mdname" nowrap> <em>a_message</em>, </td>
409 </tr>
410 <tr>
411 <td></td>
412 <td></td>
413 <td class="md" nowrap>WPARAM&nbsp;</td>
414 <td class="mdname" nowrap> <em>a_wParam</em>, </td>
415 </tr>
416 <tr>
417 <td></td>
418 <td></td>
419 <td class="md" nowrap>LPARAM&nbsp;</td>
420 <td class="mdname" nowrap> <em>a_lParam</em></td>
421 </tr>
422 <tr>
423 <td></td>
424 <td class="md">)&nbsp;</td>
425 <td class="md" colspan="2"><code> [static, private]</code></td>
426 </tr>
427
428 </table>
429 </td>
430 </tr>
431</table>
432<table cellspacing=5 cellpadding=0 border=0>
433 <tr>
434 <td>
435 &nbsp;
436 </td>
437 <td>
438
439<p>
440!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
441<p>
442Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00587">587</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
443<p>
444References <a class="el" href="G4VBasicShell_8cc-source.html#l00286">G4VBasicShell::ApplyShellCommand()</a>, <a class="el" href="G4VBasicShell_8cc-source.html#l00168">G4VBasicShell::Complete()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00483">ConvertStringToInt()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00173">exitHelp</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00107">fHelpChoice</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00108">fHistory</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00109">fHistoryPos</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00176">oldEditWindowProc</a>.
445<p>
446Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>.
447<p>
448<div class="fragment"><pre>00595 {
44900596 <span class="keywordflow">switch</span> (a_message) {
45000597 <span class="keywordflow">case</span> WM_KEYDOWN:
45100598 <span class="keywordflow">switch</span>(a_wParam){
45200599 <span class="keywordflow">case</span> VK_RETURN:{
45300600 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(
45400601 GetParent(a_window),GWL_USERDATA);
45500602 <span class="keywordtype">char</span> buffer[128];
45600603 GetWindowText (a_window,buffer,128);
45700604 G4String command (buffer);
45800605 <span class="comment">//SetWindowText (a_window,"");</span>
45900606 Edit_SetText(a_window,<span class="stringliteral">""</span>);
46000607 Edit_SetSel(a_window,0,0);
46100608
46200609 <span class="keywordflow">if</span>(This!=NULL) {
46300610 <span class="keywordflow">if</span>(This-&gt;<a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">true</span>) {
46400611 <a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a> = <span class="keyword">true</span>;
46500612 This-&gt;<a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <a class="code" href="G4UIXm_8cc.html#a6">ConvertStringToInt</a>(command.data(),This-&gt;<a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>);
46600613 } <span class="keywordflow">else</span> {
46700614 This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>.push_back(command);
46800615 This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = -1;
46900616 This-&gt;<a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause);
47000617 }
47100618 }
47200619
47300620 }<span class="keywordflow">break</span>;
47400621 <span class="keywordflow">case</span> VK_TAB:{
47500622 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(
47600623 GetParent(a_window),GWL_USERDATA);
47700624 <span class="keywordflow">if</span>( (This!=NULL) &amp;&amp; (This-&gt;<a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">true</span>) ) <span class="keywordflow">break</span>;
47800625 <span class="keywordtype">char</span> buffer[128];
47900626 Edit_GetText(a_window,buffer,128);
48000627
48100628 G4String command(buffer);
48200629
48300630 <span class="keywordflow">if</span>(This!=NULL) {
48400631 G4String cmd = This-&gt;<a class="code" href="classG4VBasicShell.html#b5">Complete</a>(command);
48500632 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = cmd.data();
48600633 <span class="keywordtype">int</span> l = strlen(d);
48700634 Edit_SetText(a_window,d);
48800635 Edit_SetSel(a_window,l,l);
48900636 }
49000637
49100638 }<span class="keywordflow">break</span>;
49200639 <span class="keywordflow">case</span> VK_UP:{
49300640 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(
49400641 GetParent(a_window),GWL_USERDATA);
49500642 <span class="keywordflow">if</span>(This!=NULL) {
49600643 <span class="keywordtype">int</span> pos = This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>== -1 ?
49700644 This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size()-1 : This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>-1;
49800645 <span class="keywordflow">if</span>((pos&gt;=0)&amp;&amp;(pos&lt;(<span class="keywordtype">int</span>)This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size())) {
49900646 G4String command = This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>[pos];
50000647 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = command.data();
50100648 <span class="keywordtype">int</span> l = strlen(d);
50200649 Edit_SetText(a_window,d);
50300650 Edit_SetSel(a_window,l,l);
50400651 <span class="comment">//</span>
50500652 This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = pos;
50600653 }
50700654 }
50800655 }<span class="keywordflow">return</span> 0; <span class="comment">//Do not jump into oldEditProc.</span>
50900656 <span class="keywordflow">case</span> VK_DOWN:{
51000657 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(
51100658 GetParent(a_window),GWL_USERDATA);
51200659 <span class="keywordflow">if</span>(This!=NULL) {
51300660 <span class="keywordtype">int</span> pos = This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> + 1;
51400661 <span class="keywordflow">if</span>((pos&gt;=0)&amp;&amp;(pos&lt;(<span class="keywordtype">int</span>)This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size())) {
51500662 G4String command = This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>[pos];
51600663 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = command.data();
51700664 <span class="keywordtype">int</span> l = strlen(d);
51800665 Edit_SetText(a_window,d);
51900666 Edit_SetSel(a_window,l,l);
52000667 <span class="comment">//</span>
52100668 This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = pos;
52200669 } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(pos&gt;=(<span class="keywordtype">int</span>)This-&gt;<a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size()) {
52300670 Edit_SetText(a_window,<span class="stringliteral">""</span>);
52400671 Edit_SetSel(a_window,0,0);
52500672 <span class="comment">//</span>
52600673 This-&gt;<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = -1;
52700674 }
52800675 }
52900676 }<span class="keywordflow">return</span> 0; <span class="comment">//Do not jump into oldEditProc.</span>
53000677 }
53100678 }
53200679 <span class="keywordflow">return</span> CallWindowProc(oldEditWindowProc,
53300680 a_window,a_message,
53400681 a_wParam,a_lParam);
53500682 }
536</pre></div> </td>
537 </tr>
538</table>
539
540<p>
541Here is the call graph for this function:<p><center><img src="classG4UIWin32_h2_cgraph.png" border="0" usemap="#classG4UIWin32_h2_cgraph_map" alt=""></center>
542<map name="classG4UIWin32_h2_cgraph_map">
543<area href="classG4VBasicShell.html#b10" shape="rect" coords="253,8,496,34" alt="">
544<area href="classG4VBasicShell.html#b5" shape="rect" coords="288,58,461,85" alt="">
545<area href="G4UIXm_8cc.html#a6" shape="rect" coords="308,109,441,136" alt="">
546</map>
547<a class="anchor" name="d2" doxytag="G4UIWin32::ExitHelp" ></a><p>
548<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
549 <tr>
550 <td class="mdRow">
551 <table cellpadding="0" cellspacing="0" border="0">
552 <tr>
553 <td class="md" nowrap valign="top"> void G4UIWin32::ExitHelp </td>
554 <td class="md" valign="top">(&nbsp;</td>
555 <td class="mdname1" valign="top" nowrap> </td>
556 <td class="md" valign="top">&nbsp;)&nbsp;</td>
557 <td class="md" nowrap><code> [private, virtual]</code></td>
558 </tr>
559
560 </table>
561 </td>
562 </tr>
563</table>
564<table cellspacing=5 cellpadding=0 border=0>
565 <tr>
566 <td>
567 &nbsp;
568 </td>
569 <td>
570
571<p>
572!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
573<p>
574Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>.
575<p>
576Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00382">382</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
577<p>
578<div class="fragment"><pre>00386 {
57900387 }
580</pre></div> </td>
581 </tr>
582</table>
583<a class="anchor" name="a10" doxytag="G4UIWin32::GetCommand" ></a><p>
584<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
585 <tr>
586 <td class="mdRow">
587 <table cellpadding="0" cellspacing="0" border="0">
588 <tr>
589 <td class="md" nowrap valign="top"> G4String G4UIWin32::GetCommand </td>
590 <td class="md" valign="top">(&nbsp;</td>
591 <td class="md" nowrap valign="top">int&nbsp;</td>
592 <td class="mdname1" valign="top" nowrap> <em>a_id</em> </td>
593 <td class="md" valign="top">&nbsp;)&nbsp;</td>
594 <td class="md" nowrap></td>
595 </tr>
596
597 </table>
598 </td>
599 </tr>
600</table>
601<table cellspacing=5 cellpadding=0 border=0>
602 <tr>
603 <td>
604 &nbsp;
605 </td>
606 <td>
607
608<p>
609!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
610<p>
611Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00424">424</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
612<p>
613References <a class="el" href="G4UIWin32_8hh-source.html#l00100">commands</a>.
614<p>
615Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>.
616<p>
617<div class="fragment"><pre>00429 {
61800430 <span class="keywordflow">return</span> <a class="code" href="classG4UIWin32.html#r6">commands</a>[a_id];
61900431 }
620</pre></div> </td>
621 </tr>
622</table>
623<a class="anchor" name="d1" doxytag="G4UIWin32::GetHelpChoice" ></a><p>
624<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
625 <tr>
626 <td class="mdRow">
627 <table cellpadding="0" cellspacing="0" border="0">
628 <tr>
629 <td class="md" nowrap valign="top"> G4bool G4UIWin32::GetHelpChoice </td>
630 <td class="md" valign="top">(&nbsp;</td>
631 <td class="md" nowrap valign="top">G4int &amp;&nbsp;</td>
632 <td class="mdname1" valign="top" nowrap> <em>aInt</em> </td>
633 <td class="md" valign="top">&nbsp;)&nbsp;</td>
634 <td class="md" nowrap><code> [private, virtual]</code></td>
635 </tr>
636
637 </table>
638 </td>
639 </tr>
640</table>
641<table cellspacing=5 cellpadding=0 border=0>
642 <tr>
643 <td>
644 &nbsp;
645 </td>
646 <td>
647
648<p>
649!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
650<p>
651Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>.
652<p>
653Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00358">358</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
654<p>
655References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00173">exitHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00107">fHelpChoice</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>.
656<p>
657<div class="fragment"><pre>00363 {
65800364 <a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <span class="keyword">true</span>;
65900365 <span class="comment">//</span>
66000366 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span> <span class="keyword">false</span>;
66100367 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"Help"</span>);
66200368 <a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a> = <span class="keyword">false</span>;
66300369 <span class="keywordtype">void</span>* event;
66400370 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) {
66500371 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
66600372 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
66700373 }
66800374 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"session"</span>);
66900375 <span class="comment">//</span>
67000376 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">false</span>) <span class="keywordflow">return</span> <span class="keyword">false</span>;
67100377 aInt = <a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>;
67200378 <a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <span class="keyword">false</span>;
67300379 <span class="keywordflow">return</span> <span class="keyword">true</span>;
67400380 }
675</pre></div> </td>
676 </tr>
677</table>
678
679<p>
680Here is the call graph for this function:<p><center><img src="classG4UIWin32_d1_cgraph.png" border="0" usemap="#classG4UIWin32_d1_cgraph_map" alt=""></center>
681<map name="classG4UIWin32_d1_cgraph_map">
682<area href="classG4VInteractorManager.html#a17" shape="rect" coords="246,8,497,34" alt="">
683<area href="classG4VInteractorManager.html#a22" shape="rect" coords="262,58,481,85" alt="">
684<area href="classG4UIWin32.html#a5" shape="rect" coords="301,109,442,136" alt="">
685</map>
686<a class="anchor" name="h0" doxytag="G4UIWin32::MainWindowProc" ></a><p>
687<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
688 <tr>
689 <td class="mdRow">
690 <table cellpadding="0" cellspacing="0" border="0">
691 <tr>
692 <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::MainWindowProc </td>
693 <td class="md" valign="top">(&nbsp;</td>
694 <td class="md" nowrap valign="top">HWND&nbsp;</td>
695 <td class="mdname" nowrap> <em>a_window</em>, </td>
696 </tr>
697 <tr>
698 <td></td>
699 <td></td>
700 <td class="md" nowrap>UINT&nbsp;</td>
701 <td class="mdname" nowrap> <em>a_message</em>, </td>
702 </tr>
703 <tr>
704 <td></td>
705 <td></td>
706 <td class="md" nowrap>WPARAM&nbsp;</td>
707 <td class="mdname" nowrap> <em>a_wParam</em>, </td>
708 </tr>
709 <tr>
710 <td></td>
711 <td></td>
712 <td class="md" nowrap>LPARAM&nbsp;</td>
713 <td class="mdname" nowrap> <em>a_lParam</em></td>
714 </tr>
715 <tr>
716 <td></td>
717 <td class="md">)&nbsp;</td>
718 <td class="md" colspan="2"><code> [static, private]</code></td>
719 </tr>
720
721 </table>
722 </td>
723 </tr>
724</table>
725<table cellspacing=5 cellpadding=0 border=0>
726 <tr>
727 <td>
728 &nbsp;
729 </td>
730 <td>
731
732<p>
733!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
734<p>
735Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00435">435</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
736<p>
737References <a class="el" href="G4VBasicShell_8cc-source.html#l00286">G4VBasicShell::ApplyShellCommand()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00098">editWindow</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00424">GetCommand()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00176">oldEditWindowProc</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00170">textClassName</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00102">textCols</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00102">textRows</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00174">tmpSession</a>.
738<p>
739Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>.
740<p>
741<div class="fragment"><pre>00443 {
74200444 <span class="keyword">static</span> <span class="keywordtype">short</span> charWidth,charHeight;
74300445
74400446 <span class="keywordflow">switch</span> (a_message) {
74500447 <span class="keywordflow">case</span> WM_CREATE:{
74600448 HDC hdc;
74700449 TEXTMETRIC tm;
74800450 RECT rect;
74900451 GetWindowRect (a_window,&amp;rect);
75000452
75100453 hdc = GetDC (a_window);
75200454 GetTextMetrics (hdc,&amp;tm);
75300455 charWidth = (<span class="keywordtype">short</span>)tm.tmAveCharWidth;
75400456 charHeight = (<span class="keywordtype">short</span>)(tm.tmHeight + tm.tmExternalLeading);
75500457 ReleaseDC (a_window,hdc);
75600458
75700459 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)<a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a>;
75800460 <span class="keywordflow">if</span>(This!=NULL) {
75900461 This-&gt;<a class="code" href="classG4UIWin32.html#r2">textWindow</a> = CreateWindow (textClassName,NULL,
76000462 WS_CHILD | WS_VISIBLE | WS_VSCROLL,
76100463 0,0,
76200464 This-&gt;<a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth,
76300465 This-&gt;<a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight,
76400466 a_window,NULL,
76500467 GetWindowInstance(a_window),
76600468 NULL);
76700469 ::SetWindowLong (This-&gt;<a class="code" href="classG4UIWin32.html#r2">textWindow</a>,GWL_USERDATA,LONG(This));
76800470
76900471 This-&gt;<a class="code" href="classG4UIWin32.html#r3">editWindow</a> = CreateWindow (<span class="stringliteral">"edit"</span>,NULL,
77000472 WS_CHILD | WS_VISIBLE | WS_BORDER,
77100473 0,This-&gt;<a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight,
77200474 This-&gt;<a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth,charHeight,
77300475 a_window,(HMENU)1,
77400476 GetWindowInstance(a_window),
77500477 NULL);
77600478 <a class="code" href="G4UIWin32_8cc.html#a6">oldEditWindowProc</a> = (WNDPROC)GetWindowLong(This-&gt;<a class="code" href="classG4UIWin32.html#r3">editWindow</a>,GWL_WNDPROC);
77700479 SetWindowLong (This-&gt;<a class="code" href="classG4UIWin32.html#r3">editWindow</a>,GWL_WNDPROC,(LONG)EditWindowProc);
77800480
77900481 MoveWindow (a_window,
78000482 rect.left,rect.top,
78100483 2 * GetSystemMetrics(SM_CXFRAME) +
78200484 This-&gt;<a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth,
78300485 GetSystemMetrics(SM_CYCAPTION) +
78400486 2 * GetSystemMetrics(SM_CYFRAME) +
78500487 This-&gt;<a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight + charHeight,
78600488 TRUE);
78700489 }
78800490 }<span class="keywordflow">return</span> 0;
78900491 <span class="keywordflow">case</span> WM_SIZE:{
79000492 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA);
79100493 <span class="keywordflow">if</span>(This!=NULL) {
79200494 <span class="comment">// Client size :</span>
79300495 <span class="keywordtype">int</span> width = LOWORD(a_lParam);
79400496 <span class="keywordtype">int</span> height = HIWORD(a_lParam);
79500497 <span class="keywordtype">int</span> editHeight = <span class="comment">/*2 * GetSystemMetrics(SM_CYBORDER) + */</span> charHeight;
79600498 MoveWindow (This-&gt;<a class="code" href="classG4UIWin32.html#r2">textWindow</a>,
79700499 0,0,
79800500 width,height - editHeight,
79900501 FALSE);
80000502 MoveWindow (This-&gt;<a class="code" href="classG4UIWin32.html#r3">editWindow</a>,
80100503 0,height - editHeight,
80200504 width,charHeight,
80300505 FALSE);
80400506 ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-&gt;<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)-&gt;SetHeightOfPage(height/charHeight);
80500507 }
80600508 }<span class="keywordflow">return</span> 0;
80700509 <span class="keywordflow">case</span> WM_SETFOCUS:{
80800510 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA);
80900511 <span class="keywordflow">if</span>(This!=NULL) SetFocus (This-&gt;<a class="code" href="classG4UIWin32.html#r3">editWindow</a>);
81000512 }<span class="keywordflow">return</span> 0;
81100513 <span class="keywordflow">case</span> WM_COMMAND:{
81200514 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA);
81300515 <span class="keywordflow">if</span>(This!=NULL) {
81400516 <span class="keywordflow">if</span>(This-&gt;<a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">false</span>) {
81500517 G4String command = This-&gt;<a class="code" href="classG4UIWin32.html#a10">GetCommand</a>(a_wParam);
81600518 This-&gt;<a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause);
81700519 }
81800520 }
81900521 }<span class="keywordflow">return</span> 0;
82000522 <span class="keywordflow">case</span> WM_DESTROY:
82100523 PostQuitMessage(0);
82200524 <span class="keywordflow">return</span> 0;
82300525 }
82400526 <span class="keywordflow">return</span> (DefWindowProc(a_window,a_message,a_wParam,a_lParam));
82500527 }
826</pre></div> </td>
827 </tr>
828</table>
829
830<p>
831Here is the call graph for this function:<p><center><img src="classG4UIWin32_h0_cgraph.png" border="0" usemap="#classG4UIWin32_h0_cgraph_map" alt=""></center>
832<map name="classG4UIWin32_h0_cgraph_map">
833<area href="classG4VBasicShell.html#b10" shape="rect" coords="504,33,746,60" alt="">
834<area href="classG4UIWin32.html#h2" shape="rect" coords="260,58,454,85" alt="">
835<area href="classG4UIWin32.html#a10" shape="rect" coords="268,109,446,136" alt="">
836</map>
837<a class="anchor" name="a7" doxytag="G4UIWin32::PauseSessionStart" ></a><p>
838<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
839 <tr>
840 <td class="mdRow">
841 <table cellpadding="0" cellspacing="0" border="0">
842 <tr>
843 <td class="md" nowrap valign="top"> void G4UIWin32::PauseSessionStart </td>
844 <td class="md" valign="top">(&nbsp;</td>
845 <td class="md" nowrap valign="top">G4String&nbsp;</td>
846 <td class="mdname1" valign="top" nowrap> <em>a_state</em> </td>
847 <td class="md" valign="top">&nbsp;)&nbsp;</td>
848 <td class="md" nowrap><code> [virtual]</code></td>
849 </tr>
850
851 </table>
852 </td>
853 </tr>
854</table>
855<table cellspacing=5 cellpadding=0 border=0>
856 <tr>
857 <td>
858 &nbsp;
859 </td>
860 <td>
861
862<p>
863!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
864<p>
865Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>.
866<p>
867Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00305">305</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
868<p>
869References <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>.
870<p>
871<div class="fragment"><pre>00310 {
87200311 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"G4_pause&gt; "</span>) {
87300312 <a class="code" href="classG4UIWin32.html#d0">SecondaryLoop</a> (<span class="stringliteral">"Pause, type continue to exit this state"</span>);
87400313 }
87500314
87600315 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"EndOfEvent"</span>) {
87700316 <span class="comment">// Picking with feed back in event data Done here !!!</span>
87800317 <a class="code" href="classG4UIWin32.html#d0">SecondaryLoop</a> (<span class="stringliteral">"End of event, type continue to exit this state"</span>);
87900318 }
88000319 }
881</pre></div> </td>
882 </tr>
883</table>
884
885<p>
886Here is the call graph for this function:<p><center><img src="classG4UIWin32_a7_cgraph.png" border="0" usemap="#classG4UIWin32_a7_cgraph_map" alt=""></center>
887<map name="classG4UIWin32_a7_cgraph_map">
888<area href="classG4UIWin32.html#d0" shape="rect" coords="270,58,460,85" alt="">
889<area href="classG4VInteractorManager.html#a17" shape="rect" coords="510,8,761,34" alt="">
890<area href="classG4VInteractorManager.html#a22" shape="rect" coords="526,58,745,85" alt="">
891<area href="classG4UIWin32.html#a5" shape="rect" coords="565,109,706,136" alt="">
892</map>
893<a class="anchor" name="a5" doxytag="G4UIWin32::Prompt" ></a><p>
894<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
895 <tr>
896 <td class="mdRow">
897 <table cellpadding="0" cellspacing="0" border="0">
898 <tr>
899 <td class="md" nowrap valign="top"> void G4UIWin32::Prompt </td>
900 <td class="md" valign="top">(&nbsp;</td>
901 <td class="md" nowrap valign="top">G4String&nbsp;</td>
902 <td class="mdname1" valign="top" nowrap> <em>a_prompt</em> </td>
903 <td class="md" valign="top">&nbsp;)&nbsp;</td>
904 <td class="md" nowrap></td>
905 </tr>
906
907 </table>
908 </td>
909 </tr>
910</table>
911<table cellspacing=5 cellpadding=0 border=0>
912 <tr>
913 <td>
914 &nbsp;
915 </td>
916 <td>
917
918<p>
919!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
920<p>
921Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00290">290</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
922<p>
923Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00272">SessionStart()</a>.
924<p>
925<div class="fragment"><pre>00295 {
92600296 }
927</pre></div> </td>
928 </tr>
929</table>
930<a class="anchor" name="a9" doxytag="G4UIWin32::ReceiveG4cerr" ></a><p>
931<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
932 <tr>
933 <td class="mdRow">
934 <table cellpadding="0" cellspacing="0" border="0">
935 <tr>
936 <td class="md" nowrap valign="top"> G4int G4UIWin32::ReceiveG4cerr </td>
937 <td class="md" valign="top">(&nbsp;</td>
938 <td class="md" nowrap valign="top">G4String&nbsp;</td>
939 <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td>
940 <td class="md" valign="top">&nbsp;)&nbsp;</td>
941 <td class="md" nowrap></td>
942 </tr>
943
944 </table>
945 </td>
946 </tr>
947</table>
948<table cellspacing=5 cellpadding=0 border=0>
949 <tr>
950 <td>
951 &nbsp;
952 </td>
953 <td>
954
955<p>
956!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
957<p>
958Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00348">348</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
959<p>
960References <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>.
961<p>
962<div class="fragment"><pre>00353 {
96300354 <a class="code" href="classG4UIWin32.html#a11">TextAppendString</a>((<span class="keywordtype">char</span>*)a_string.data());
96400355 <span class="keywordflow">return</span> 0;
96500356 }
966</pre></div> </td>
967 </tr>
968</table>
969
970<p>
971Here is the call graph for this function:<p><center><img src="classG4UIWin32_a9_cgraph.png" border="0" usemap="#classG4UIWin32_a9_cgraph_map" alt=""></center>
972<map name="classG4UIWin32_a9_cgraph_map">
973<area href="classG4UIWin32.html#a11" shape="rect" coords="242,8,445,34" alt="">
974</map>
975<a class="anchor" name="a8" doxytag="G4UIWin32::ReceiveG4cout" ></a><p>
976<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
977 <tr>
978 <td class="mdRow">
979 <table cellpadding="0" cellspacing="0" border="0">
980 <tr>
981 <td class="md" nowrap valign="top"> G4int G4UIWin32::ReceiveG4cout </td>
982 <td class="md" valign="top">(&nbsp;</td>
983 <td class="md" nowrap valign="top">G4String&nbsp;</td>
984 <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td>
985 <td class="md" valign="top">&nbsp;)&nbsp;</td>
986 <td class="md" nowrap></td>
987 </tr>
988
989 </table>
990 </td>
991 </tr>
992</table>
993<table cellspacing=5 cellpadding=0 border=0>
994 <tr>
995 <td>
996 &nbsp;
997 </td>
998 <td>
999
1000<p>
1001!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1002<p>
1003Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00338">338</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1004<p>
1005References <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>.
1006<p>
1007<div class="fragment"><pre>00343 {
100800344 <a class="code" href="classG4UIWin32.html#a11">TextAppendString</a>((<span class="keywordtype">char</span>*)a_string.data());
100900345 <span class="keywordflow">return</span> 0;
101000346 }
1011</pre></div> </td>
1012 </tr>
1013</table>
1014
1015<p>
1016Here is the call graph for this function:<p><center><img src="classG4UIWin32_a8_cgraph.png" border="0" usemap="#classG4UIWin32_a8_cgraph_map" alt=""></center>
1017<map name="classG4UIWin32_a8_cgraph_map">
1018<area href="classG4UIWin32.html#a11" shape="rect" coords="245,8,448,34" alt="">
1019</map>
1020<a class="anchor" name="d0" doxytag="G4UIWin32::SecondaryLoop" ></a><p>
1021<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1022 <tr>
1023 <td class="mdRow">
1024 <table cellpadding="0" cellspacing="0" border="0">
1025 <tr>
1026 <td class="md" nowrap valign="top"> void G4UIWin32::SecondaryLoop </td>
1027 <td class="md" valign="top">(&nbsp;</td>
1028 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1029 <td class="mdname1" valign="top" nowrap> <em>a_prompt</em> </td>
1030 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1031 <td class="md" nowrap><code> [private]</code></td>
1032 </tr>
1033
1034 </table>
1035 </td>
1036 </tr>
1037</table>
1038<table cellspacing=5 cellpadding=0 border=0>
1039 <tr>
1040 <td>
1041 &nbsp;
1042 </td>
1043 <td>
1044
1045<p>
1046!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1047<p>
1048Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00321">321</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1049<p>
1050References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>.
1051<p>
1052Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00305">PauseSessionStart()</a>.
1053<p>
1054<div class="fragment"><pre>00326 {
105500327 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span>;
105600328 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(a_prompt);
105700329 <a class="code" href="G4UIWin32_8cc.html#a3">exitPause</a> = <span class="keyword">false</span>;
105800330 <span class="keywordtype">void</span>* event;
105900331 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) {
106000332 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
106100333 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a3">exitPause</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
106200334 }
106300335 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"session"</span>);
106400336 }
1065</pre></div> </td>
1066 </tr>
1067</table>
1068
1069<p>
1070Here is the call graph for this function:<p><center><img src="classG4UIWin32_d0_cgraph.png" border="0" usemap="#classG4UIWin32_d0_cgraph_map" alt=""></center>
1071<map name="classG4UIWin32_d0_cgraph_map">
1072<area href="classG4VInteractorManager.html#a17" shape="rect" coords="249,8,499,34" alt="">
1073<area href="classG4VInteractorManager.html#a22" shape="rect" coords="265,58,483,85" alt="">
1074<area href="classG4UIWin32.html#a5" shape="rect" coords="303,109,445,136" alt="">
1075</map>
1076<a class="anchor" name="a1" doxytag="G4UIWin32::SessionStart" ></a><p>
1077<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1078 <tr>
1079 <td class="mdRow">
1080 <table cellpadding="0" cellspacing="0" border="0">
1081 <tr>
1082 <td class="md" nowrap valign="top"> G4UIsession * G4UIWin32::SessionStart </td>
1083 <td class="md" valign="top">(&nbsp;</td>
1084 <td class="mdname1" valign="top" nowrap> </td>
1085 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1086 <td class="md" nowrap><code> [virtual]</code></td>
1087 </tr>
1088
1089 </table>
1090 </td>
1091 </tr>
1092</table>
1093<table cellspacing=5 cellpadding=0 border=0>
1094 <tr>
1095 <td>
1096 &nbsp;
1097 </td>
1098 <td>
1099
1100<p>
1101!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1102<p>
1103Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>.
1104<p>
1105Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00272">272</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1106<p>
1107References <a class="el" href="G4VInteractorManager_8cc-source.html#l00144">G4VInteractorManager::DisableSecondaryLoop()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00136">G4VInteractorManager::EnableSecondaryLoop()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>.
1108<p>
1109<div class="fragment"><pre>00276 {
111000277 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span> <span class="keyword">this</span>;
111100278 <a class="code" href="classG4UIWin32.html#a5">Prompt</a> (<span class="stringliteral">"session"</span>);
111200279 <a class="code" href="G4UIWin32_8cc.html#a2">exitSession</a> = <span class="keyword">false</span>;
111300280 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a13">DisableSecondaryLoop</a> ();
111400281 <span class="keywordtype">void</span>* event;
111500282 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) {
111600283 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
111700284 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a2">exitSession</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
111800285 }
111900286 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-&gt;<a class="code" href="classG4VInteractorManager.html#a12">EnableSecondaryLoop</a> ();
112000287 <span class="keywordflow">return</span> <span class="keyword">this</span>;
112100288 }
1122</pre></div> </td>
1123 </tr>
1124</table>
1125
1126<p>
1127Here is the call graph for this function:<p><center><img src="classG4UIWin32_a1_cgraph.png" border="0" usemap="#classG4UIWin32_a1_cgraph_map" alt=""></center>
1128<map name="classG4UIWin32_a1_cgraph_map">
1129<area href="classG4VInteractorManager.html#a13" shape="rect" coords="230,7,531,34" alt="">
1130<area href="classG4VInteractorManager.html#a17" shape="rect" coords="255,58,506,85" alt="">
1131<area href="classG4VInteractorManager.html#a12" shape="rect" coords="231,109,530,135" alt="">
1132<area href="classG4VInteractorManager.html#a22" shape="rect" coords="271,159,490,186" alt="">
1133<area href="classG4UIWin32.html#a5" shape="rect" coords="310,210,451,237" alt="">
1134</map>
1135<a class="anchor" name="a6" doxytag="G4UIWin32::SessionTerminate" ></a><p>
1136<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1137 <tr>
1138 <td class="mdRow">
1139 <table cellpadding="0" cellspacing="0" border="0">
1140 <tr>
1141 <td class="md" nowrap valign="top"> void G4UIWin32::SessionTerminate </td>
1142 <td class="md" valign="top">(&nbsp;</td>
1143 <td class="mdname1" valign="top" nowrap> </td>
1144 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1145 <td class="md" nowrap></td>
1146 </tr>
1147
1148 </table>
1149 </td>
1150 </tr>
1151</table>
1152<table cellspacing=5 cellpadding=0 border=0>
1153 <tr>
1154 <td>
1155 &nbsp;
1156 </td>
1157 <td>
1158
1159<p>
1160!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1161<p>
1162Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00298">298</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1163<p>
1164<div class="fragment"><pre>00302 {
116500303 }
1166</pre></div> </td>
1167 </tr>
1168</table>
1169<a class="anchor" name="a11" doxytag="G4UIWin32::TextAppendString" ></a><p>
1170<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1171 <tr>
1172 <td class="mdRow">
1173 <table cellpadding="0" cellspacing="0" border="0">
1174 <tr>
1175 <td class="md" nowrap valign="top"> void G4UIWin32::TextAppendString </td>
1176 <td class="md" valign="top">(&nbsp;</td>
1177 <td class="md" nowrap valign="top">char *&nbsp;</td>
1178 <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td>
1179 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1180 <td class="md" nowrap></td>
1181 </tr>
1182
1183 </table>
1184 </td>
1185 </tr>
1186</table>
1187<table cellspacing=5 cellpadding=0 border=0>
1188 <tr>
1189 <td>
1190 &nbsp;
1191 </td>
1192 <td>
1193
1194<p>
1195!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1196<p>
1197Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00684">684</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1198<p>
1199References <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>.
1200<p>
1201Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00348">ReceiveG4cerr()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00338">ReceiveG4cout()</a>.
1202<p>
1203<div class="fragment"><pre>00689 {
120400690 <span class="keywordflow">if</span>( (a_string==NULL) || (a_string[0]==<span class="charliteral">'\0'</span>) ) <span class="keywordflow">return</span>;
120500691 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>==NULL) <span class="keywordflow">return</span>;
120600692 <span class="keywordflow">if</span>(((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)-&gt;AppendString(a_string)==<span class="keyword">true</span>) {
120700693 <span class="comment">// The appending triggers and end of line, and then updates window :</span>
120800694 RECT rect;
120900695 GetClientRect(textWindow,&amp;rect);
121000696 InvalidateRect(textWindow,NULL,TRUE); <span class="comment">//To erase background.</span>
121100697 HDC hdc = GetDC(textWindow);
121200698 ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)-&gt;Draw(hdc,&amp;rect);
121300699 ReleaseDC (textWindow,hdc);
121400700 <span class="keywordtype">int</span> linen = ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)-&gt;GetNumberOfLines();
121500701 SetScrollRange(textWindow,SB_VERT,0,linen-1,TRUE);
121600702 SetScrollPos(textWindow,SB_VERT,linen-1,TRUE);
121700703 }
121800704 }
1219</pre></div> </td>
1220 </tr>
1221</table>
1222<a class="anchor" name="h1" doxytag="G4UIWin32::TextWindowProc" ></a><p>
1223<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1224 <tr>
1225 <td class="mdRow">
1226 <table cellpadding="0" cellspacing="0" border="0">
1227 <tr>
1228 <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::TextWindowProc </td>
1229 <td class="md" valign="top">(&nbsp;</td>
1230 <td class="md" nowrap valign="top">HWND&nbsp;</td>
1231 <td class="mdname" nowrap> <em>a_window</em>, </td>
1232 </tr>
1233 <tr>
1234 <td></td>
1235 <td></td>
1236 <td class="md" nowrap>UINT&nbsp;</td>
1237 <td class="mdname" nowrap> <em>a_message</em>, </td>
1238 </tr>
1239 <tr>
1240 <td></td>
1241 <td></td>
1242 <td class="md" nowrap>WPARAM&nbsp;</td>
1243 <td class="mdname" nowrap> <em>a_wParam</em>, </td>
1244 </tr>
1245 <tr>
1246 <td></td>
1247 <td></td>
1248 <td class="md" nowrap>LPARAM&nbsp;</td>
1249 <td class="mdname" nowrap> <em>a_lParam</em></td>
1250 </tr>
1251 <tr>
1252 <td></td>
1253 <td class="md">)&nbsp;</td>
1254 <td class="md" colspan="2"><code> [static, private]</code></td>
1255 </tr>
1256
1257 </table>
1258 </td>
1259 </tr>
1260</table>
1261<table cellspacing=5 cellpadding=0 border=0>
1262 <tr>
1263 <td>
1264 &nbsp;
1265 </td>
1266 <td>
1267
1268<p>
1269!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1270<p>
1271Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00529">529</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>.
1272<p>
1273References <a class="el" href="G4UIWin32_8cc-source.html#l00108">TextBuffer::DecrementEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00149">TextBuffer::Draw()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00064">TextBuffer::GetEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00102">TextBuffer::IncrementEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00114">TextBuffer::JumpDownEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00120">TextBuffer::JumpUpEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00093">TextBuffer::SetEndOfPage()</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>.
1274<p>
1275Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>.
1276<p>
1277<div class="fragment"><pre>00537 {
127800538 <span class="keywordflow">switch</span> (a_message) {
127900539 <span class="keywordflow">case</span> WM_PAINT:{
128000540 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA);
128100541 <span class="keywordflow">if</span>(This!=NULL) {
128200542 <a class="code" href="classTextBuffer.html">TextBuffer</a>* <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = (<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-&gt;<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>;
128300543 RECT rect;
128400544 GetClientRect (a_window,&amp;rect);
128500545 PAINTSTRUCT ps;
128600546 HDC hdc = BeginPaint(a_window,&amp;ps);
128700547 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a11">Draw</a>(hdc,&amp;rect);
128800548 EndPaint(a_window,&amp;ps);
128900549 }
129000550 }<span class="keywordflow">return</span> 0;
129100551 <span class="keywordflow">case</span> WM_VSCROLL:{
129200552 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA);
129300553 <span class="keywordflow">if</span>(This!=NULL) {
129400554 <a class="code" href="classTextBuffer.html">TextBuffer</a>* <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = (<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-&gt;<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>;
129500555 <span class="keywordtype">int</span> what = LOWORD(a_wParam);
129600556 <span class="keywordflow">switch</span>(what) {
129700557 <span class="keywordflow">case</span> SB_LINEUP:
129800558 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a7">DecrementEndOfPage</a>();
129900559 <span class="keywordflow">break</span>;
130000560 <span class="keywordflow">case</span> SB_LINEDOWN:
130100561 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a6">IncrementEndOfPage</a>();
130200562 <span class="keywordflow">break</span>;
130300563 <span class="keywordflow">case</span> SB_PAGEUP:
130400564 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a9">JumpUpEndOfPage</a>();
130500565 <span class="keywordflow">break</span>;
130600566 <span class="keywordflow">case</span> SB_PAGEDOWN:
130700567 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a8">JumpDownEndOfPage</a>();
130800568 <span class="keywordflow">break</span>;
130900569 <span class="keywordflow">case</span> SB_THUMBPOSITION:
131000570 <span class="keywordflow">case</span> SB_THUMBTRACK:
131100571 textBuffer-&gt;<a class="code" href="classTextBuffer.html#a4">SetEndOfPage</a>(HIWORD(a_wParam));
131200572 <span class="keywordflow">break</span>;
131300573 <span class="keywordflow">default</span>:
131400574 <span class="keywordflow">return</span> 0;
131500575 }
131600576 <span class="keywordtype">int</span> eop = textBuffer-&gt;<a class="code" href="classTextBuffer.html#a5">GetEndOfPage</a>();
131700577 SetScrollPos(a_window,SB_VERT,eop,TRUE);
131800578 InvalidateRect(a_window,NULL,TRUE);
131900579 }}<span class="keywordflow">return</span> 0;
132000580 <span class="keywordflow">case</span> WM_DESTROY:
132100581 PostQuitMessage(0);
132200582 <span class="keywordflow">return</span> 0;
132300583 }
132400584 <span class="keywordflow">return</span> (DefWindowProc(a_window,a_message,a_wParam,a_lParam));
132500585 }
1326</pre></div> </td>
1327 </tr>
1328</table>
1329
1330<p>
1331Here is the call graph for this function:<p><center><img src="classG4UIWin32_h1_cgraph.png" border="0" usemap="#classG4UIWin32_h1_cgraph_map" alt=""></center>
1332<map name="classG4UIWin32_h1_cgraph_map">
1333<area href="classTextBuffer.html#a7" shape="rect" coords="254,8,475,34" alt="">
1334<area href="classTextBuffer.html#a11" shape="rect" coords="306,58,423,85" alt="">
1335<area href="classTextBuffer.html#a5" shape="rect" coords="277,109,453,136" alt="">
1336<area href="classTextBuffer.html#a6" shape="rect" coords="257,160,473,186" alt="">
1337<area href="classTextBuffer.html#a8" shape="rect" coords="254,210,475,237" alt="">
1338<area href="classTextBuffer.html#a9" shape="rect" coords="262,261,467,288" alt="">
1339<area href="classTextBuffer.html#a4" shape="rect" coords="277,312,453,338" alt="">
1340</map>
1341<hr><h2>Member Data Documentation</h2>
1342<a class="anchor" name="r6" doxytag="G4UIWin32::commands" ></a><p>
1343<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1344 <tr>
1345 <td class="mdRow">
1346 <table cellpadding="0" cellspacing="0" border="0">
1347 <tr>
1348 <td class="md" nowrap valign="top"> std::map&lt;int,G4String, std::less&lt;int&gt; &gt; <a class="el" href="classG4UIWin32.html#r6">G4UIWin32::commands</a><code> [private]</code>
1349 </table>
1350 </td>
1351 </tr>
1352</table>
1353<table cellspacing=5 cellpadding=0 border=0>
1354 <tr>
1355 <td>
1356 &nbsp;
1357 </td>
1358 <td>
1359
1360<p>
1361
1362<p>
1363Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00100">100</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1364<p>
1365Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00407">AddButton()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00424">GetCommand()</a>. </td>
1366 </tr>
1367</table>
1368<a class="anchor" name="r5" doxytag="G4UIWin32::defaultMenu" ></a><p>
1369<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1370 <tr>
1371 <td class="mdRow">
1372 <table cellpadding="0" cellspacing="0" border="0">
1373 <tr>
1374 <td class="md" nowrap valign="top"> HMENU <a class="el" href="classG4UIWin32.html#r5">G4UIWin32::defaultMenu</a><code> [private]</code>
1375 </table>
1376 </td>
1377 </tr>
1378</table>
1379<table cellspacing=5 cellpadding=0 border=0>
1380 <tr>
1381 <td>
1382 &nbsp;
1383 </td>
1384 <td>
1385
1386<p>
1387
1388<p>
1389Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00099">99</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1390<p>
1391Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. </td>
1392 </tr>
1393</table>
1394<a class="anchor" name="r3" doxytag="G4UIWin32::editWindow" ></a><p>
1395<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1396 <tr>
1397 <td class="mdRow">
1398 <table cellpadding="0" cellspacing="0" border="0">
1399 <tr>
1400 <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r3">G4UIWin32::editWindow</a><code> [private]</code>
1401 </table>
1402 </td>
1403 </tr>
1404</table>
1405<table cellspacing=5 cellpadding=0 border=0>
1406 <tr>
1407 <td>
1408 &nbsp;
1409 </td>
1410 <td>
1411
1412<p>
1413
1414<p>
1415Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00098">98</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1416<p>
1417Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td>
1418 </tr>
1419</table>
1420<a class="anchor" name="r10" doxytag="G4UIWin32::fHelp" ></a><p>
1421<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1422 <tr>
1423 <td class="mdRow">
1424 <table cellpadding="0" cellspacing="0" border="0">
1425 <tr>
1426 <td class="md" nowrap valign="top"> G4bool <a class="el" href="classG4UIWin32.html#r10">G4UIWin32::fHelp</a><code> [private]</code>
1427 </table>
1428 </td>
1429 </tr>
1430</table>
1431<table cellspacing=5 cellpadding=0 border=0>
1432 <tr>
1433 <td>
1434 &nbsp;
1435 </td>
1436 <td>
1437
1438<p>
1439
1440<p>
1441Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00106">106</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1442<p>
1443Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td>
1444 </tr>
1445</table>
1446<a class="anchor" name="r11" doxytag="G4UIWin32::fHelpChoice" ></a><p>
1447<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1448 <tr>
1449 <td class="mdRow">
1450 <table cellpadding="0" cellspacing="0" border="0">
1451 <tr>
1452 <td class="md" nowrap valign="top"> G4int <a class="el" href="classG4UIWin32.html#r11">G4UIWin32::fHelpChoice</a><code> [private]</code>
1453 </table>
1454 </td>
1455 </tr>
1456</table>
1457<table cellspacing=5 cellpadding=0 border=0>
1458 <tr>
1459 <td>
1460 &nbsp;
1461 </td>
1462 <td>
1463
1464<p>
1465
1466<p>
1467Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00107">107</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1468<p>
1469Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>. </td>
1470 </tr>
1471</table>
1472<a class="anchor" name="r12" doxytag="G4UIWin32::fHistory" ></a><p>
1473<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1474 <tr>
1475 <td class="mdRow">
1476 <table cellpadding="0" cellspacing="0" border="0">
1477 <tr>
1478 <td class="md" nowrap valign="top"> std::vector&lt;G4String&gt; <a class="el" href="classG4UIWin32.html#r12">G4UIWin32::fHistory</a><code> [private]</code>
1479 </table>
1480 </td>
1481 </tr>
1482</table>
1483<table cellspacing=5 cellpadding=0 border=0>
1484 <tr>
1485 <td>
1486 &nbsp;
1487 </td>
1488 <td>
1489
1490<p>
1491
1492<p>
1493Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00108">108</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1494<p>
1495Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>. </td>
1496 </tr>
1497</table>
1498<a class="anchor" name="r13" doxytag="G4UIWin32::fHistoryPos" ></a><p>
1499<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1500 <tr>
1501 <td class="mdRow">
1502 <table cellpadding="0" cellspacing="0" border="0">
1503 <tr>
1504 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r13">G4UIWin32::fHistoryPos</a><code> [private]</code>
1505 </table>
1506 </td>
1507 </tr>
1508</table>
1509<table cellspacing=5 cellpadding=0 border=0>
1510 <tr>
1511 <td>
1512 &nbsp;
1513 </td>
1514 <td>
1515
1516<p>
1517
1518<p>
1519Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00109">109</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1520<p>
1521Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>. </td>
1522 </tr>
1523</table>
1524<a class="anchor" name="r0" doxytag="G4UIWin32::interactorManager" ></a><p>
1525<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1526 <tr>
1527 <td class="mdRow">
1528 <table cellpadding="0" cellspacing="0" border="0">
1529 <tr>
1530 <td class="md" nowrap valign="top"> <a class="el" href="classG4VInteractorManager.html">G4VInteractorManager</a>* <a class="el" href="classG4UIWin32.html#r0">G4UIWin32::interactorManager</a><code> [private]</code>
1531 </table>
1532 </td>
1533 </tr>
1534</table>
1535<table cellspacing=5 cellpadding=0 border=0>
1536 <tr>
1537 <td>
1538 &nbsp;
1539 </td>
1540 <td>
1541
1542<p>
1543
1544<p>
1545Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00096">96</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1546<p>
1547Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00272">SessionStart()</a>. </td>
1548 </tr>
1549</table>
1550<a class="anchor" name="r1" doxytag="G4UIWin32::mainWindow" ></a><p>
1551<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1552 <tr>
1553 <td class="mdRow">
1554 <table cellpadding="0" cellspacing="0" border="0">
1555 <tr>
1556 <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r1">G4UIWin32::mainWindow</a><code> [private]</code>
1557 </table>
1558 </td>
1559 </tr>
1560</table>
1561<table cellspacing=5 cellpadding=0 border=0>
1562 <tr>
1563 <td>
1564 &nbsp;
1565 </td>
1566 <td>
1567
1568<p>
1569
1570<p>
1571Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00097">97</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1572<p>
1573Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td>
1574 </tr>
1575</table>
1576<a class="anchor" name="r4" doxytag="G4UIWin32::menuBar" ></a><p>
1577<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1578 <tr>
1579 <td class="mdRow">
1580 <table cellpadding="0" cellspacing="0" border="0">
1581 <tr>
1582 <td class="md" nowrap valign="top"> HMENU <a class="el" href="classG4UIWin32.html#r4">G4UIWin32::menuBar</a><code> [private]</code>
1583 </table>
1584 </td>
1585 </tr>
1586</table>
1587<table cellspacing=5 cellpadding=0 border=0>
1588 <tr>
1589 <td>
1590 &nbsp;
1591 </td>
1592 <td>
1593
1594<p>
1595
1596<p>
1597Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00099">99</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1598<p>
1599Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. </td>
1600 </tr>
1601</table>
1602<a class="anchor" name="r7" doxytag="G4UIWin32::textBuffer" ></a><p>
1603<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1604 <tr>
1605 <td class="mdRow">
1606 <table cellpadding="0" cellspacing="0" border="0">
1607 <tr>
1608 <td class="md" nowrap valign="top"> void* <a class="el" href="classG4UIWin32.html#r7">G4UIWin32::textBuffer</a><code> [private]</code>
1609 </table>
1610 </td>
1611 </tr>
1612</table>
1613<table cellspacing=5 cellpadding=0 border=0>
1614 <tr>
1615 <td>
1616 &nbsp;
1617 </td>
1618 <td>
1619
1620<p>
1621
1622<p>
1623Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00101">101</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1624<p>
1625Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00529">TextWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td>
1626 </tr>
1627</table>
1628<a class="anchor" name="r9" doxytag="G4UIWin32::textCols" ></a><p>
1629<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1630 <tr>
1631 <td class="mdRow">
1632 <table cellpadding="0" cellspacing="0" border="0">
1633 <tr>
1634 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r9">G4UIWin32::textCols</a><code> [private]</code>
1635 </table>
1636 </td>
1637 </tr>
1638</table>
1639<table cellspacing=5 cellpadding=0 border=0>
1640 <tr>
1641 <td>
1642 &nbsp;
1643 </td>
1644 <td>
1645
1646<p>
1647
1648<p>
1649Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00102">102</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1650<p>
1651Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td>
1652 </tr>
1653</table>
1654<a class="anchor" name="r8" doxytag="G4UIWin32::textRows" ></a><p>
1655<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1656 <tr>
1657 <td class="mdRow">
1658 <table cellpadding="0" cellspacing="0" border="0">
1659 <tr>
1660 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r8">G4UIWin32::textRows</a><code> [private]</code>
1661 </table>
1662 </td>
1663 </tr>
1664</table>
1665<table cellspacing=5 cellpadding=0 border=0>
1666 <tr>
1667 <td>
1668 &nbsp;
1669 </td>
1670 <td>
1671
1672<p>
1673
1674<p>
1675Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00102">102</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1676<p>
1677Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td>
1678 </tr>
1679</table>
1680<a class="anchor" name="r2" doxytag="G4UIWin32::textWindow" ></a><p>
1681<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1682 <tr>
1683 <td class="mdRow">
1684 <table cellpadding="0" cellspacing="0" border="0">
1685 <tr>
1686 <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r2">G4UIWin32::textWindow</a><code> [private]</code>
1687 </table>
1688 </td>
1689 </tr>
1690</table>
1691<table cellspacing=5 cellpadding=0 border=0>
1692 <tr>
1693 <td>
1694 &nbsp;
1695 </td>
1696 <td>
1697
1698<p>
1699
1700<p>
1701Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00098">98</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>.
1702<p>
1703Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td>
1704 </tr>
1705</table>
1706<hr>The documentation for this class was generated from the following files:<ul>
1707<li><a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a><li><a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a></ul>
1708<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:43 2007 by
1709<a href="http://www.doxygen.org/index.html">
1710<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
1711</a>1.3.4 </small></address>
1712</body>
1713</html>
Note: See TracBrowser for help on using the repository browser.