Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Simplicated

macrumors 65816
Original poster
Sep 20, 2008
1,422
254
Waterloo, Ontario, Canada
Hello,

I have a NSWindow subclass that resembles the Mac App Store window (the window management buttons moved down a little bit). However, the trackers, which show the X, - and + symbols when you rollover these buttons, stay at the places where they used to be. Is there a way to move them too?

I have looked up Google Chrome's source on Github, yet I still can't understand how they did it. (And they use undocumented methods, so I think it will be rejected from the App Store?)

Thanks.
 

Attachments

  • Screen shot 2011-03-12 at 1.28.35 AM.png
    Screen shot 2011-03-12 at 1.28.35 AM.png
    25.6 KB · Views: 185
Last edited:
If you plan to submit it to the mac app store it will be rejected.

Without implementing Google Chrome's way of moving the tracking area (though I still have no idea how), the app will actually be approved because it uses no private APIs whatsoever. However I still need to move the tracking area, otherwise it'll be frustrating to the users.

Any help on moving it without breaking the App Store rules? Thanks so much.
 
The only supported way I know of mucking around with these buttons is the HITheme API which works on 64-bit but doesn't render the same as the Cocoa version. Plus that API is very rough, but it works.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.