{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcocoaapi.hatenablog.com%2Fentry%2F20090507%2FrecID35351\" title=\"locationInWindow - macOS/iOS API\u89e3\u8aac\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"locationInWindow","blog_url":"https://cocoaapi.hatenablog.com/","categories":["ApplicationKit","NSEvent","10.0-"],"published":"2009-05-07 00:00:00","image_url":null,"type":"rich","author_name":"jjj777","url":"https://cocoaapi.hatenablog.com/entry/20090507/recID35351","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/jjj777/","blog_title":"macOS/iOS API\u89e3\u8aac","version":"1.0","height":"190","description":"\u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u3069\u3053\u3067\u30a4\u30d9\u30f3\u30c8\u304c\u8d77\u3053\u3063\u305f\u306e\u304b\u3092NSPoint\u3067\u8fd4\u3057\u307e\u3059 \u89e3\u8aac \u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u3069\u3053\u3067\u30a4\u30d9\u30f3\u30c8\u304c\u8d77\u3053\u3063\u305f\u306e\u304b\u3092NSPoint\u3067\u8fd4\u3057\u307e\u3059\u3002 \u8fd4\u308a\u5024 ( NSPoint ) \u30a4\u30d9\u30f3\u30c8\u304c\u8d77\u3053\u3063\u305f\u4f4d\u7f6e \u5f15\u6570 \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af ApplicationKit \u30af\u30e9\u30b9 NSEvent Instance Methods \u4f7f\u7528\u53ef\u80fd 10.0 \u53c2\u7167 \u4f8b\u6587 //mouseDown\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3064\u30af\u30e9\u30b9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b - (void)mouseDown:(NSEvent *)event { NSPoint eventLocation = [event locationInWindow]; }","width":"100%"}