Re: Cocoa Borderless Panel causes issues in PowerPlant/Carbon
Re: Cocoa Borderless Panel causes issues in PowerPlant/Carbon
- Subject: Re: Cocoa Borderless Panel causes issues in PowerPlant/Carbon
- From: Abdul Sowayan <email@hidden>
- Date: Thu, 16 Sep 2010 14:48:58 -0400
- Thread-topic: Cocoa Borderless Panel causes issues in PowerPlant/Carbon
Hi Kyle,
Thanks for your response.
> Did you try calling -setFloatingPanel: on the panel?
Yes I did. When I do so, This is the dump I get:
0x1820f00 Document 283C V 3 Window
0x1822b90 "com.apple.HIToolbox.windowgroups.toolbar"
Without calling -setFloatingPanel: I get the following:
0x181f620 Document 26C8 V 0 Window
0x607ef0 "com.apple.HIToolbox.windowgroups.document"
So you see, after calling -setFloatingPanel: on a Borderless Window, it is
still considered a "Document" Window, but it becomes of type "
com.apple.HIToolbox.windowgroups.toolbar"
As a side effect, when I do call -setFloatingDataPanel:, I am no longer able
to click on the "ON" button in my PowerPlant/Carbon application.
Below is the the output I get from gdb:
(gdb) call (void)DebugPrintWindowList()
Flags: V:visible H:highlighted A:active F:user focus S:hide on suspend
Avail: T:transient S:stationary A:all spaces M:move to active space
Window Class WID Flags Level Avail Title
Group
---------- ------------- ---- ----- ----- -----
------------------------- ----------------------------
0x14300ca0 MenuBar 7 24 S
0x14301be0 "com.apple.HIToolbox.windowgroups.menubar"
0x1825300 Floating 283D S 0 T
0x1826910 "com.apple.HIToolbox.windowgroups.floating"
0x1820f00 Document 283C V 3 Window
0x1822b90 "com.apple.HIToolbox.windowgroups.toolbar"
0x6092d0 Document 283B V 0
0x1806e60 "com.apple.HIToolbox.windowgroups.document"
Thanks,
Abdul
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden