EnumWindows returning before it should?

  • Thread starter Tomás Ó hÉilidhe
  • Start date
T

Tomás Ó hÉilidhe

The MSDN page for EnumWindows says the following:

"The EnumWindows function enumerates all top-level windows on the
screen by passing the handle to each window, in turn, to an
application-defined callback function. EnumWindows continues until the
last top-level window is enumerated or the callback function returns
FALSE."

I am finding that the EnumWindows function is returning BEFORE all
windows are enumerated. Do I have a multi-threading problem?
 
J

jacob navia

Tomás Ó hÉilidhe said:
The MSDN page for EnumWindows says the following:

"The EnumWindows function enumerates all top-level windows on the
screen by passing the handle to each window, in turn, to an
application-defined callback function. EnumWindows continues until the
last top-level window is enumerated or the callback function returns
FALSE."

I am finding that the EnumWindows function is returning BEFORE all
windows are enumerated. Do I have a multi-threading problem?

All top level windows?

Note that if you create a window in the enumeration function it will
probably not be counted.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,153
Latest member
NamKaufman
Top