Hi Kiran,

Excellent. Since my window is transparent and doing at runtime, I have to
mention its properties during creation.

- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle
backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag {

    // Using NSBorderlessWindowMask results in a window without a title bar.

    self = [super initWithContentRect:contentRect

styleMask:NSBorderlessWindowMask | NSTexturedBackgroundWindowMask

  backing:NSBackingStoreBuffered defer:NO];

    if (self != nil) {

        // Start with no transparency for all drawing into the window

        [self setAlphaValue:1.0];

        // Turn off opacity so that the parts of the window that are not
drawn into are transparent.

        [self setOpaque:NO];

    }

    return self;

}

Thanks a million. But can you put some rational on that, how does it made it
to happen. What does it mean by Textured. Besides giving metallic background
it is doing something more. What is that and how? How it unfroze my window
from moving once I gave this property?

Hope I am putting in proper manner.

Regards
Mustafa Shaik

On Thu, Nov 12, 2009 at 5:58 PM, kirankumar <[email protected]>wrote:

> Hi,
>
> goto attributes for your window ,enable the texture checkbox so that
> you can drag your window.
>
>
> Regards,
> kiran.
>
>
>
>
>
> On Nov 12, 2009, at 2:09 PM, Symadept wrote:
>
>  Hi,
>>
>> My app's window is a BorderLess Window because of which I will not
>> have the Titlebar (Ref: RoundTransparentWindow of Apple examples).
>>
>> Because of which I can't drag and move over the screen. Any
>> pointers to solve this.
>>
>> Regards
>> symadept
>>
>>
>
> The information contained in this email and any attachments is confidential
> and may be subject to copyright or other intellectual property protection.
> If you are not the intended recipient, you are not authorized to use or
> disclose this information, and we request that you notify us by reply mail
> or telephone and delete the original message from your mail system.
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to