Problems with KeyDown events
Problems with KeyDown events
- Subject: Problems with KeyDown events
- From: Marcos Tirao <email@hidden>
- Date: Sat, 17 Aug 2002 19:17:32 -0700
Hi! Everybody I have a little problem with KeyDown Events using Cocoa
I want to have a window without the border. I do that promatically with
the following line
mainWindow = [[NSWindow alloc]
initWithContentRect:NSMakeRect(0,0,640,480)
styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered
defer:NO];
and all necessary initialization according with coco docs to handle
keyDown events, but nothing happens when I press a key.
But if a change NSBorderlessWindowMask with NSTitledWindowMask
everything work just fine.
That's weird, isn't it?
Does anyone can help me to deal with this problem?
Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.