[pywin32-bugs] [ pywin32-Bugs-2310121 ] GetDlgItemText fails with no contents
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-01-31 15:08:45
|
Bugs item #2310121, was opened at 2008-11-18 17:04 Message generated for change (Comment added) made by tjgolden You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2310121&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: Tim Golden (tjgolden) Assigned to: Nobody/Anonymous (nobody) Summary: GetDlgItemText fails with no contents Initial Comment: win32gui.GetDlgItemText returns an error if there is nothing in the control in question. I'm not sure if this is "correct" (since the docs say that zero is returned on failure) but I can't see how else to determine that the control has no contents. I can work around the issue by catching the exception and assuming that there are no contents. ---------------------------------------------------------------------- >Comment By: Tim Golden (tjgolden) Date: 2009-01-31 15:08 Message: Thanks very much ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2009-01-30 23:29 Message: Checking in win32/src/win32gui.i; new revision: 1.124; previous revision: 1.123 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2310121&group_id=78018 |