On Jul 30, 2008, at 9:33 PM, Sarah Reichelt wrote:

Hi All,

I want to program a custom effect when the iconify button is clicked,
like iTunes where you can have it going to a mini window instead of
down into the Dock. I've programmed it all and it works fine, showing
the mini window and hiding the usual window. The problem is that I
can't stop the original window moving down into the Dock first, THEN
my script happens. It hides the original window which removes it from
the Dock.

Hi Sarah,

Don't you want to handle a click on the zoom (green +) button rather than the minimize button? That's what iTunes uses to switch to the mini window. When I checked the message watcher while clicking the zoom button, the cREVgeometryCache and the cREVGeometry properties get set, then resizeStack and moveStack messages are sent. I don't know whether you can prevent the automatic zoom behavior by intercepting them, however.

Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to