• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Missing mouseUp events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing mouseUp events


  • Subject: Missing mouseUp events
  • From: Paul Fox <email@hidden>
  • Date: Mon, 12 Aug 2002 10:25:29 +0000

I'm playing with makeFirstResponder and seem to have a problem.

I am implementing something very similar to MS Windows MDI windows
(dont shriek in horror - they are optional). Each MDI window is
essentially a hiererachy of NSView's. When you click on the title
bar of the MDI window it needs to forward focus to the appropriate
embedded child NSView in that tree.

I use makeFirstResponder for this purpose.

WHat I am finding is that when I do this mouseDown on the title
and try to set the focus, I never receive mouseUp events.

Even if I comment out the calls to makeFirstResponder I am failing
to get the mouseUp event - which is puzzling. It works fine when I have
a single MDI window but as soon as I go to two of them it works
bizarrely. More than likely a silly simple error in my code - but I am at
a loss to where the mouseUp is going. I have printf()'s in pretty
much all the important NSView callback methods - but cannot track it down.

Any suggestions as to how to find out what might be going on?

thanx
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: malloc_size nowhere?
  • Next by Date: (no subject)
  • Previous by thread: Re: malloc_size nowhere?
  • Next by thread: AuthorizationExecuteWithoutPrivileges?
  • Index(es):
    • Date
    • Thread