Is there any way I can find out what the screen origin is for whatever
menu my user is interacting with?
I am using PopupMenuSelect with nested hierarchical menus. I can
predict the screen bounds of the top-level menu because I know its
height, width and origin, but for sub-menus presented on my behalf by
PopupMenuSelect, I can't figure out how to get this information.
What I want to do is implement a sort of tear-off feature. I am
imagining something where if the mouse leaves the menu bounds and
travels a certain distance, the tear-off will occur. What I'm doing so
far is listening for kEventMenuOpening/Closing messages while tracking
the menu. This allows me to identify the tear-off target, and I can
get the height and width of the menu, but not the origin at which it
will be drawn.
Is there any hope for finding this information?
Thanks!
Daniel
_______________________________________________
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