On 13.09.2017 at 18:49 Eric Schlegel wrote:
>> Have you looked through MacWindows.h? In theory, I think you could create a
>> window group, add your window to the group, and then use SetWindowGroupLevel.
> Yes, that should do it. More specifically, I suggest rather than
> using SetWindowGroupLevel, you position your custom window group
> above the system-provided group for kUtilityWindowClass:
> [typed in mail, not compiled]
> WindowGroupRef group;
> CreateWindowGroup( kNilOptions, &group );
> SendWindowGroupBehind( group, GetWindowGroupSibling(
> GetWindowGroupOfClass( kUtilityWindowClass ), false ) );
Thanks, but unfortunately I can't get it to work. The following call returns
NULL which makes SendWindowGroupBehind() fail with "windowGroupInvalidErr":
theWindowGroup =
GetWindowGroupSibling(GetWindowGroupOfClass(kUtilityWindowClass), false);
I've also tried to pass "true" instead of "false". Then GetWindowGroupSibling()
returns a pointer but SendWindowGroupBehind() still fails, the error being
-50 then.
Any ideas?
--
Best regards,
Andreas Falkenhahn mailto:[email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com
This email sent to [email protected]