[pywin32-bugs] [ pywin32-Bugs-1267366 ] CreateWindow() requires class atom, not name
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2007-03-08 23:23:33
|
Bugs item #1267366, was opened at 2005-08-23 13:58 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1267366&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: John J Smith (johnjsmith) Assigned to: Nobody/Anonymous (nobody) Summary: CreateWindow() requires class atom, not name Initial Comment: If the class name given to win32gui.RegisterClass() is given to win32gui.CreateWindow(), then no window messages are delivered. If the class atom returned by RegisterClass() is given to CreateWindow(), then things work as expected. Both MSDN and the win32gui docs seem to indicate that a class name is acceptable. e.g.: http://mail.python.org/pipermail/python-win32/2004-December/002771.html (The code works if the class name is replaced by the atom.) ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2007-03-08 18:23 Message: Logged In: YES user_id=771074 Originator: NO Rev 1.102 of win32gui.i fixes this issue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1267366&group_id=78018 |