• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SystemUIMode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SystemUIMode


  • Subject: SystemUIMode
  • From: Frank Young <email@hidden>
  • Date: Fri, 15 Sep 2006 00:39:23 -0400

In my application, I'm trying to change the SystemUIMode when the application launches. The developer documetation says that thecall needs to be made like this:

OSStatus SetSystemUIMode(
            SystemUIMode inMode,
            SystemUIOptions inOptions);

What I would like to do is have my particular UIMode activate every time that the application is launched which would be here in the .m file:

- (void)windowControllerDidLoadNib:(NSWindowController *) aController
{
[super windowControllerDidLoadNib:aController];
// Add any code here that needs to be executed once the windowController has loaded the document's window.
[webView setUIDelegate:self];
[webView setGroupName:@"MyDocument"];
[urlString setStringValue:defaultHP];
[[webView mainFrame] loadRequest:
[NSURLRequest requestWithURL:
[NSURL URLWithString:defaultHP]]];
[webView setFrameLoadDelegate:self];
[webView setResourceLoadDelegate:self];
}


I'm just unsure as to what the correct syntax would be when calling the method right there. Anyone have any clues?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: SystemUIMode
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: RE: How to know user clicks [print] button in cocoa PDE
  • Next by Date: RE: GCOV question
  • Previous by thread: Help! Can I change paperSize/tray in the middle of a print operation?
  • Next by thread: Re: SystemUIMode
  • Index(es):
    • Date
    • Thread