NSSecureTextField and umlauts

2008-10-31 Thread Peter Alshuth
Hi all, I am having a problem with the NSSecureTextField and umlauts. If I type in 'OPTION u a' for 'รค' I get only the regular character back ('a'). I unchecked the box Only Roman Characters in the IB but nothing changed. Is this a limitation of this password field? Do I have to use a reg

NSImage above scroll view content

2008-09-20 Thread Peter Alshuth
Hi all, I have a window with a scroll view that displays an image. I would like to have a centered symbol (another image) on top of this view independently of the slider positions and movements. Do I have to create another window with a transparent background and sync it with the movements of the o

NSToolbarItem, textured background & Tiger

2008-08-14 Thread Peter Alshuth
Hi all, I am using a custom panel (NSPanel in a nib file) that I add to the toolbaritem with. The window attribute of this window has the 'texture' flag set. If I hide/show my toolbar the background looks fine under Leopard but apparently the same code doesn't look nice under Tiger (10.4.

Hidden Shares

2008-07-28 Thread Peter Alshuth
Hi all, I would like to hide a shared folder on the network, similar like it is done under Windows by adding a $ sign to its shared name. This is not working for non smb connections. Apparently, if I hide the folder locally in the Finder and share it, it will not keep this attribute over

Re: Folder sharing attributes

2008-07-28 Thread Peter Alshuth
err = FSGetCatalogInfo(&fileRef, whichInfo, &catalogInfo, NULL, NULL, NULL ); if(err == noErr) NSLog(@"Sharing is %@", (catalogInfo.sharingFlags & kioFlAttribSharePointBit) ? @"ON" : @"OFF"); } On Jul 25, 2008, at 11:49 AM, Ky

Folder sharing attributes

2008-07-25 Thread Peter Alshuth
Hi all, I was wondering how I can retrieve information about a particular folder if this folder is shared or not. I looked into the fileAttributesAtPath method of the NSFileManager class but cannot find any entries regarding the sharing status. How can I retrieve this information and also

Local or network user

2008-02-22 Thread Peter Alshuth
Hi everyone, I need to find out if the user of the current session has a local account or a network account. I looked into the NSWorkspace class but cannot find any helpful information there. I use the function SCDynamicStoreCopyConsoleUser in order to find the current user name. Regards,