• 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
Doing action from subclassed button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doing action from subclassed button?


  • Subject: Doing action from subclassed button?
  • From: Thilo Ettelt <email@hidden>
  • Date: Fri, 5 Jul 2002 16:19:34 +0200

Hi! I have a little trouble again. I'm writing a little dock app in that every dock tile is a little window with a button (the button is as big as the window). In the button's overwritten mouseDown event I look wether the command key is hold. If so the tile will move while dragging the mouse. The problem I'm facing is that I cannot do the button's action (when clicking without modifier flags) as I don't have access to the main class.

Did somebody face the same problem and has a solution for that? Thanks in advance!


Cheers, Thilo
_______________________________________________
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: Re: accessor generation???
  • Next by Date: Re: NSFileManager - isExecutableFileAtPath - seems to lie
  • Previous by thread: Re: NSFileManager - isExecutableFileAtPath - seems to lie
  • Next by thread: Re: Doing action from subclassed button?
  • Index(es):
    • Date
    • Thread