<br><br>
<div class="gmail_quote">On Fri, Jan 6, 2012 at 9:23 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">On 06.01.2012, at 15:10, Levente Uzonyi wrote:<br><br>&gt; On Fri, 6 Jan 2012, Bert Freudenberg wrote:<br>&gt;<br></div>
<div class="im">&gt;&gt; On 06.01.2012, at 14:55, Levente Uzonyi wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; It&#39;s a good start, but not perfect. The window is opened, it can be closed, but painting with the mouse doesn&#39;t work. Didn&#39;t try if it survives image closing/reopening.<br>
&gt;&gt;<br>&gt;&gt; One thing to try is open a process browser and see if the process goes away after closing the window. That would mean that at least the event handling works.<br>&gt;<br>&gt; It does go away.<br><br></div>
Good!<br>
<div class="im"><br>&gt;&gt;<br>&gt;&gt; Displaying might work differently on Windows - is it possible it requires an external bitmap? I know Andreas is a freak for efficiency when it comes to rendering ;)<br><br></div>It seems to me it should work - I&#39;m looking at ioShowDisplayOnWindow() in <a href="http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c?rev=2173&amp;view=raw" target="_blank">http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c?rev=2173&amp;view=raw</a><br>
and it uses SetDIBitsToDevice() to draw ...<br><br>Do the old test methods on the instance side work better?<br></blockquote>
<div> </div>
<div>I thought I would help out and test it on Windows.</div>
<div>For some reason the mouse events from the HostWindow never reflect the button press. evt at: 5 always returns 0.</div>
<div>One other thing I noticed is the main Squeak window title changes to &quot;Paint Test&quot; and the host window title is &quot;Squeak!&quot;. </div>
<div>Tested on Win7 and XP with the cog vm v2522 13 Dec 2011</div>
<div> </div>
<div>John</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><span class="HOEnZb"><font color="#888888"><br>- Bert -<br><br><br></font></span></blockquote></div><br>