I was able to get the sketching to work in Windows using Levente&#39;s interpreter image located at:<br><a href="http://leves.web.elte.hu/squeak/SqueakVM-Win32-4.4.9-2358-non-official-bin.zip" target="_top" rel="nofollow" link="external" style="font-size:13px;color:rgb(85,26,139);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)"><span style="color:inherit">http://leves.web.elte.hu/squeak/SqueakVM-Win32-4.4.9-2358-non-official-bin.zip</span></a> <div>
and referenced in: 
<a href="http://forum.world.st/Prebuilt-windows-VM-tt3392603.html">http://forum.world.st/Prebuilt-windows-VM-tt3392603.html</a> </div><div><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 4:04 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jan 6, 2012 at 10:56 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div></div><div><br><div><div>On 06.01.2012, at 19:43, Eliot Miranda wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 8:13 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><br>
On 06.01.2012, at 16:55, John McKeon wrote:<br>
<br>
&gt; I thought I would help out and test it on Windows.<br>
&gt; For some reason the mouse events from the HostWindow never reflect the button press. evt at: 5 always returns 0.<br>
<br>
</div>That&#39;s strange. HostWindowPlugin uses the same code to record mouse events as the regular window ...<br>
<div><br>
&gt; 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;.<br>
&gt; Tested on Win7 and XP with the cog vm v2522 13 Dec 2011<br>
<br>
</div>Hehe. Okay, that one is obviously a bug in the VM. It should really use SetWindowTextW(hwnd, ...:<br>
<br>
sqInt ioSetTitleOfWindow(sqInt windowIndex, char * newTitle, sqInt sizeOfTitle) {<br>
  HWND hwnd = (windowIndex == 1 ? stWindow : ((HWND)windowIndex));<br>
  char titleString[1024];<br>
  WCHAR wideTitle[1024];<br>
<br>
  if(!IsWindow(hwnd)) return 0;<br>
  if (sizeOfTitle &gt; 1023) sizeOfTitle = 1023;<br>
  strncpy(titleString, newTitle, sizeOfTitle);<br>
  titleString[sizeOfTitle] = 0;<br>
  MultiByteToWideChar(CP_UTF8, 0, titleString, -1, wideTitle, 1024);<br>
  if(SetWindowTextW(stWindow, wideTitle) == 0) return -1;<br>
  return sizeOfTitle;<br>
}<br></blockquote><div><br></div><div>But the code in platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c in the Cog sources looks to be exactly that, and the code hasn&#39;t changed since April 2010...  Which version of the sources contains the bug?</div>


</div></blockquote><br></div></div></div><div>That version. It needs to say this instead:</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

SetWindowTextW(hwnd, ...</blockquote></div><div><br></div><div>It should use hwnd instead of stWindow.</div></div></blockquote><div><br></div></div></div><div>Thanks!  So much for eye-ball diff tools...</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br><font color="#888888"><div>
<span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Lucida Grande;word-spacing:0px"><div style="font-family:Helvetica">

<span style="font-family:Helvetica">- Bert -</span></div></span></div><br></font></div><br><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</font></span><br><br>
<br></blockquote></div><br></div>