I have submitted a bug report whose text I reproduce below.
http://sourceforge.net/tracker/index.php?func=detail&aid=1164783&group_id=16572&atid=116572

Regards,
Rob.


[ 1164783 ] EnumMyWindows() does not work
-------------------------------------------------------

Win32::GUI::EnumMyWindows() should return a list of top-level
window created by the calling process.

It returns an empty list.  This is because the callback performs
a test of the windows style against GW_CHILD, when it should
be testing against WS_CHILD.

The callback (EnumMyWindowsProc in GUI_helpers.cpp) does
not need to perform this test at all, as EnumWindows() only
performs the callback for top level windows
(without WS_CHILD), according to MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/enumwindows.asp

Additionally there is an uncommented debug printf in
Win32::GUI::EnumMyWindows() at
GUI.xs (v1.29, line 3908) that should be commented out, or
otherwise removed.

Reply via email to