Have you looked at this?
http://cocoawithlove.com/2008/12/drawing-custom-window-on-mac-os-x.html
Hank
On Apr 29, 2011, at 2:16 PM, Abhinav K Tyagi wrote:
> Hi Laurent,
>
> I too agree with you on this. The circular shape i just mention as a case.
> It can be any shape.
>
> Its just an idea..
Laurent,
Look into subclassing the view and setting up a tracking area.
Thanks,
Arvin
On 4/29/11 2:16 PM, "Abhinav K Tyagi" wrote:
>Hi Laurent,
>
>I too agree with you on this. The circular shape i just mention as a
>case.
>It can be any shape.
>
>Its just an idea.. good or bad will depend on
On 29 Apr 2011, at 11:46 AM, Abhinav K Tyagi wrote:
> How can i create an arbitrary shaped window?
Look for the sample project "RoundTransparentWindow." I found it by typing
"round window" in the Documentation organizer in Xcode 4. The Documentation
browser in Xcode 3 should turn up the same th
On Apr 29, 2011, at 11:46 AM, Abhinav K Tyagi wrote:
> Hi,
>
> How can i create an arbitrary shaped window? Mouse events should be
> handled in the shape only and not the rectangular window portion.
> For Ex. If my window is circular, then outside the circle, any mouse should
> go to desktop or
Hi Laurent,
I too agree with you on this. The circular shape i just mention as a
case.
It can be any shape.
Its just an idea.. good or bad will depend on how and when one finds its
application.
I remember that MSVC++ had a similar thing to set the "shape" of the
window
but here how to do
On Apr 29, 2011, at 12:00 PM, Laurent Daudelin wrote:
> On Apr 29, 2011, at 09:46, Abhinav K Tyagi wrote:
>
>> Hi,
>>
>> How can i create an arbitrary shaped window? Mouse events should be
>> handled in the shape only and not the rectangular window portion.
>> For Ex. If my window is circular,
On Apr 29, 2011, at 09:46, Abhinav K Tyagi wrote:
> Hi,
>
> How can i create an arbitrary shaped window? Mouse events should be
> handled in the shape only and not the rectangular window portion.
> For Ex. If my window is circular, then outside the circle, any mouse should
> go to desktop or what
Hi,
How can i create an arbitrary shaped window? Mouse events should be
handled in the shape only and not the rectangular window portion.
For Ex. If my window is circular, then outside the circle, any mouse
should
go to desktop or whatever is there behind it.
Using borderless and transparent m