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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:38:34+00:00 2026-05-13T19:38:34+00:00

I have a custom window (matt gemells Transparent Window class) and I need to

  • 0

I have a custom window (matt gemells Transparent Window class) and I need to change the window’s alpha value to achieve a fade in/out effect and perform a “makeKeyAndOrderFront:”.

However this does not work.

What I did:

I imported the header:

#import "TransparentWindow.h"

Then tried:

[TransparentWindow setAlphaValue:0.5];

[TransparentWindow makeKeyAndOrderFront:self];

This gave me a warning that “Transparent Window” may not respond to either of the code above. So I attempted to implement the “setAlphaValue” into Transparent Window by adding:

- (void)setAlphaValue:(CGFloat)windowAlpha
{
    [super setAlphaValue:windowAlpha];   
}

but the 2 warnings won’t go away. How can I fix this?

  • 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-13T19:38:35+00:00Added an answer on May 13, 2026 at 7:38 pm
    [TransparentWindow setAlphaValue:0.5];
    [TransparentWindow makeKeyAndOrderFront:self];
    

    This gave me a warning that "Transparent Window" may not respond to either of the code above.

    That’s because it (the TransparentWindow class) doesn’t.

    You need to send those messages to a TransparentWindow instance, not to the TransparentWindow class.

    So I attempted to implement the "setAlphaValue" into Transparent Window by adding:

    - (void)setAlphaValue:(CGFloat)windowAlpha
    {
        [super setAlphaValue:windowAlpha];   
    }
    

    If this NSWindow method had not existed, calling it from a method in a subclass would not solve that problem.

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

Sidebar

Related Questions

I have a custom info window in fusion tables: <div class='googft-info-window' style='font-family: sans-serif'> <img
I have a custom WPF window defined as: <Window x:Class=MainWindow xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml Title=MainWindow MinHeight=300
I have a Custom class which is supposed to load a window from a
I have a custom styled transparent window and i've seen a lot of issues
I have a custom control in Silverlight, the change of property via property window
I have a window which has a custom NSView and has a bottom bar
I have a custom info window over a google map, sometimes these info windows
I have a custom title bar requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.activities); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title); Which works basically fine.
I have an app with a custom window (transparency and no borders). I made
I have a WPF application (.NET Framework 4) with a custom window-border. I've disabled

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.