View Full Version : Find window under pointer?
12-07-2006, 02:29 PM
Is there any way to find the window under the pointer? I've tried using `getPanel -underPointer` and then find the window that holds this panel, but some windows (script editor, attrib editor) don't use panels so this won't work for them.
Anyone know of a way to find the window?
12-07-2006, 02:40 PM
Hey man. I'm just doing this in the thread below yours :thumbsup:
string $currentPanel = `getPanel -withFocus`;
12-07-2006, 02:56 PM
Yeah, getPanel doesn't work because some windows (script editor, attrib ed) don't have panels.
12-07-2006, 02:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.