[haiku-development] Re: Open windows count

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 12 May 2008 22:52:46 -0500

On Mon, May 12, 2008 at 10:43 PM, Mohmed Hammassani <mohmed85@xxxxxxxxx> wrote:
> Hello,
>
> Is there a way to find out the count of the number of all windows open on
> the disktop?
>

Offhand you can ask BRoster for the current app list via GetAppList(),
and then send each app a scripting message asking for the window
count, then summing the results. If there's an easier way, I don't
know it offhand.

Regards,

Rene

Other related posts: