win32gui bug: where to report it?

Discussion in 'Python' started by George van den Driessche, Feb 15, 2005.

  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/python-list/2001-October/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
     
    George van den Driessche, Feb 15, 2005
    #1
    1. Advertising

  2. George van den Driessche

    Roger Upole Guest

    Win32all is called Pywin32 now, and resides on SourceForge:
    http://sourceforge.net/projects/pywin32/

    Roger


    "George van den Driessche" <> 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/python-list/2001-October/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 =---
     
    Roger Upole, Feb 15, 2005
    #2
    1. Advertising

  3. George van den Driessche

    Peter Hansen Guest

    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/
     
    Peter Hansen, Feb 15, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Torjo

    [ann] WIN32GUI - v1.5.1 released

    John Torjo, Oct 13, 2004, in forum: C++
    Replies:
    32
    Views:
    1,038
    Ioannis Vranos
    Oct 29, 2004
  2. Replies:
    1
    Views:
    426
    matthias_k
    Jan 26, 2005
  3. =?ISO-8859-1?Q?Thomas_N=FCcker?=

    Embedded Python and Tkinter / win32gui

    =?ISO-8859-1?Q?Thomas_N=FCcker?=, Jun 24, 2003, in forum: Python
    Replies:
    2
    Views:
    1,267
    =?ISO-8859-1?Q?Thomas_N=FCcker?=
    Jun 25, 2003
  4. Martin v. =?iso-8859-15?q?L=F6wis?=

    Re: Compiling Python with Tkinter and win32gui

    Martin v. =?iso-8859-15?q?L=F6wis?=, Jun 27, 2003, in forum: Python
    Replies:
    0
    Views:
    845
    Martin v. =?iso-8859-15?q?L=F6wis?=
    Jun 27, 2003
  5. Jay O'Connor

    STrange error importing win32gui

    Jay O'Connor, Nov 12, 2003, in forum: Python
    Replies:
    4
    Views:
    396
    Mark Hammond
    Nov 13, 2003
Loading...

Share This Page