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 7517243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:22:59+00:00 2026-05-30T01:22:59+00:00

The primary window in my app is borderless: [self.window setStyleMask:NSBorderlessWindowMask]; From that window, I

  • 0

The primary window in my app is borderless:

[self.window setStyleMask:NSBorderlessWindowMask];

From that window, I also open other child windows. When I click around between those other child windows I see the drop shadow of those child windows get darker/larger when that child window gets clicked and becomes the focused window. However, my main window’s shadow doesn’t change when it loses or gains focus. So, there isn’t much user feedback to tell them that original primary window has become the focus again.

Do I need to override something in my borderless window subclass to enable the shadow changes? It has a shadow, it just doesn’t get darker/larger when that window is the focus.

  • 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-30T01:23:02+00:00Added an answer on May 30, 2026 at 1:23 am

    The darker shadow is a behavior tied to the NSTitledWindowMask so I don’t believe that you can actually get this using the NSBorderlessWindowMask.

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

Sidebar

Related Questions

We have an application that has a primary window, it can launch multiple other
I currently have an app that has a UIScrollView with paging as the primary
I know that primary keys based on Guids do not have the best performance
I have a simple BlackBerry app i'm working on that uses JSONP and Zepto.js.
I've successfully created an app that minimizes to the tray using a NotifyIcon. When
I have a Windows Form app in C# and am trying to figure out
I am the lead developer on a commercial Windows app (c#). A new requirement
How to I get access NavigationService in a Windows Phone app without going through
I want to center my WPF app on startup on the primary screen. I
I'm trying to create a simple app that draws rectangles within the Canvas tag.

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.