Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6379777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:10:54+00:00 2026-05-25T02:10:54+00:00

I trying to create a toolbar that docks on the top of the screen

  • 0

I trying to create a toolbar that docks on the top of the screen below the OS X menu bar.

I would like no other application’s to be able to overlap my application when they are maximized. I can get the visible frame dimensions using NSScreen’s visibleframe method, but can I adjust the visibleframe to omit the size and position of my application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:10:54+00:00Added an answer on May 25, 2026 at 2:10 am

    The simple answer is that no, you can’t. I think that the only way to change the screen’s visibleRect would be to inject code into AppKit and swizzle the method.

    Even then, it might not do what you want because that method might not be what Apple uses to determine the “safe area” for windows and almost certainly would not work with Carbon apps.

    Nothing you do with window levels will change this.

    What you could do is use the Accessibility framework to reposition windows if you detect that their frames have changed such that they overlap your toolbar window. Unfortunately, I think you might need use polling for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to create my own firefox toolbar with commands that will open
I'm using a goog.ui.toolbar to create a horizontal navigation menu at the top of
I'm trying to create a toolbar button that inserts a footer (including some buttons)
I'm trying to create a feature similar to that of Geogebra 's toolbar: it
I'm trying to create a simple toolbar in WPF, but the toolbar shows up
1st Question: I'm trying to make the create method work, but it appears that
I am trying to create a simple Applescript that is activated each time I
How do I create a WPF user control with a sub-panel that accepts other
I'm trying to create a toolbar similar to the twitter one. problem is when
I've been trying to create a custom toolbar in a MFC project in Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.