[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...> - 2005-08-23 18:58:16
|
Bugs item #1267366, was opened at 2005-08-23 18:58 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None Priority: 5 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.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1267366&group_id=78018 |