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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:45:23+00:00 2026-05-25T10:45:23+00:00

I am writing an application using cocoa which, in some point (surprise), opens window.

  • 0

I am writing an application using cocoa which, in some point (surprise), opens window.
There is a “Hover” functionality in this window, and for that I need to accept mouseMoved events. I managed to activate this functionality using

[[newView window] setAcceptsMouseMovedEvents:YES];

call, however, it only starting to work after I touch the opened window, actually activating it this way. I am interested for it to work right away, without clicking on it.

- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent 

does not seem to be working since only mouseDown or mouseDragged events activate it. Apparently mouseMoved event does not.

In other words, mouseMoved event only start to work after mouseDown or mouseDragged event has been called.

  • 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-25T10:45:24+00:00Added an answer on May 25, 2026 at 10:45 am

    Are you using an NSTrackingArea to handle this? Have you passed in the NSTrackingActiveAlways option?

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

Sidebar

Related Questions

I am writing an application using Symfony. I have some reusable components that I
I am writing a Mac Cocoa application that will manipulate database files, which can
I'm writing an application using DDD techniques. This is my first attempt at a
I'm writing a web application using Spring/Hibernate that displays a report to a user,
I am writing an application using C# and I would like to read some
I'm writing an application using Seam 2.2.x which will be deployed on JBoss 5.1.
I'm writing a Cocoa application, which uses NSURLs -- I need to remove the
i'm writing an application in objective-c (using cocoa). i have a PDF template, i
I am writing an application for OS X (Obj-C/Cocoa) that runs a simulation and
I'm writing a Cocoa application that displays the contents of an archive file in

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.