on 6/28/06 10:22 AM, Eric Schlegel at email@hidden wrote:
> Hmm, that doesn't make sense. First, menu windows are no different
> from other windows, and they won't prevent you from seeing other
> windows in the window list. Second, maybe you just mistyped here, but
> you should only be calling GetWindowList once; after the first call,
> you should be calling GetNextWindow. Did you mean to write, "no other
> windows are in the list returned by GetNextWindow()"?
Yes, I did mean that. After returning a Window named "File", GetNextWindow()
was returning NULL.
Probably I had some error somewhere, but I switched to
GetFrontWindowOfClass() and GetNextWindowOfClass(), which seems to make more
sense for what I am trying to do, and all seems to be working well now.
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma Lab - developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden