How to change default browser in Mac OS X 10.2?
How to change default browser in Mac OS X 10.2?
- Subject: How to change default browser in Mac OS X 10.2?
- From: Noriaki Misawa <email@hidden>
- Date: Tue, 13 May 2003 11:32:36 +0900
Hello.
I have a question.
I want to change default browser while launch my application.
Who does anybody know documents or sample or etc...?
Using Project Buider, Interface Builder, Cocoa.
My code is
#define kICDefaultBrowser "\pHelper・http"
ICInstance theInst;
OSStatus status = ICStart( &theInst, 0 );
Size size = sizeof( OSType );
ICAttr attr = kICAttrNoChange;
status = ICSetPref( theInst, kICDefaultBrowser, attr,
(OSType*)&creator, size ); <- Error!
status = ICStop( theInst );
--
Noriaki Misawa <
mailto:email@hidden>
http://www.misawa.net/
iChat:email@hidden
_______________________________________________
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.