Making a window pop in and out of the edge of the screen

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-01-03T08:49:00Z Indexed on 2010/05/01 12:57 UTC
Read the original article Hit count: 278

Filed under:
|
|

I'm trying to re-write an application I have for Windows in Objective-C for my Mac, and I want to be able to do something like Mac's hot corners. If I move my mouse to the left side of the screen it will make a window visible, if I move it outside of the window location the window will hide again. (window would be pushed up to the left side of screen).

Does anyone know where I can find some demo code (or reference) on how to do this, or at least how to tell where the mouse is at, even if the current application is not on top. (not sure how to word this, too used to Windows world).

Thank you

-Brad

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about mac