yes, it was my escape hatch, I see now that i also forgot to destroy the window.
Also any thoughts or insights into writing on the desktop?

On Thu, Sep 10, 2009 at 3:57 PM, Tim Roberts <t...@probo.com> wrote:
> Steve Bonam wrote:
>> # Create and register new window class
>> def WndProc(hWnd, msg, wparam, lparam):
>>     print msg
>>     if msg == win32con.WM_PAINT:
>>         print "Painting"
>>         hdc,paintstruct = BeginPaint(hWnd)
>>         PaintDesktop(hdc)
>>         #ExtTextOut(hdc, 100,100,win32con.ETO_OPAQUE,None, "TEST")
>>         EndPaint(hWnd,paintstruct)
>>         return 0
>>     if msg == 522:
>>         PostQuitMessage(0)
>>         return 0
>>
>
> 522 is WM_MOUSEWHEEL.  Was that your "escape hatch" -- twiddle the wheel
> to kill the app?  If you change that to win32con.WM_CLOSE, you can kill
> it with Alt-F4, like normal.
>
> --
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>



-- 

-steve
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to