Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > win32gui bug: where to report it?

Reply
Thread Tools

win32gui bug: where to report it?

 
 
George van den Driessche
Guest
Posts: n/a
 
      02-15-2005
It's taken me ages to find out why my window, built out of win32all, wasn't
receiving any messages. Eventually I found the answer here:

http://mail.python.org/pipermail/pyt...er/069451.html

The important point being:
> IIRC you have to pass the return value of the RegisterClass() call (which
> is an atom) to the CreateWindowEx() function as the second parameter
> (lpClassName).

.... in other words, you can pass the name of your window class as the second
parameter, but it will silently fail to work. (This holds for CreateWindow
too.)

This is a bug for which it is pretty much impossible to work out the
workaround without being told it, so I'd like to put the workaround in a
more easily-found place. But where? win32all doesn't seem to have much
documentation, much less a bug database.

In case anyone else needs to find this message by searching, some keywords
are: win32all, win32gui, WNDCLASS, RegisterClass, CreateWindow,
CreateWindowEx

George


 
Reply With Quote
 
 
 
 
Roger Upole
Guest
Posts: n/a
 
      02-15-2005
Win32all is called Pywin32 now, and resides on SourceForge:
http://sourceforge.net/projects/pywin32/

Roger


"George van den Driessche" <no-> wrote in message
news:cusofn$f0n$1$...
> It's taken me ages to find out why my window, built out of win32all,
> wasn't
> receiving any messages. Eventually I found the answer here:
>
> http://mail.python.org/pipermail/pyt...er/069451.html
>
> The important point being:
>> IIRC you have to pass the return value of the RegisterClass() call (which
>> is an atom) to the CreateWindowEx() function as the second parameter
>> (lpClassName).

> ... in other words, you can pass the name of your window class as the
> second
> parameter, but it will silently fail to work. (This holds for CreateWindow
> too.)
>
> This is a bug for which it is pretty much impossible to work out the
> workaround without being told it, so I'd like to put the workaround in a
> more easily-found place. But where? win32all doesn't seem to have much
> documentation, much less a bug database.
>
> In case anyone else needs to find this message by searching, some keywords
> are: win32all, win32gui, WNDCLASS, RegisterClass, CreateWindow,
> CreateWindowEx
>
> George
>
>





----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Peter Hansen
Guest
Posts: n/a
 
      02-15-2005
George van den Driessche wrote:
> This is a bug for which it is pretty much impossible to work out the
> workaround without being told it, so I'd like to put the workaround in a
> more easily-found place. But where? win32all doesn't seem to have much
> documentation, much less a bug database.


http://sourceforge.net/projects/pywin32/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ann] WIN32GUI v1.6.3 released jtorjo@yahoo.com C++ 1 01-26-2005 06:43 AM
[ann] WIN32GUI - v1.5.1 released John Torjo C++ 32 10-29-2004 02:07 AM
STrange error importing win32gui Jay O'Connor Python 4 11-13-2003 09:46 PM
Re: Compiling Python with Tkinter and win32gui Martin v. =?iso-8859-15?q?L=F6wis?= Python 0 06-27-2003 08:51 PM
Embedded Python and Tkinter / win32gui =?ISO-8859-1?Q?Thomas_N=FCcker?= Python 2 06-25-2003 07:32 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57