• 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
Re: Problems with mouse click location in AUCarbonViewBase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with mouse click location in AUCarbonViewBase


  • Subject: Re: Problems with mouse click location in AUCarbonViewBase
  • From: Marc Poirier <email@hidden>
  • Date: Sun, 20 Jun 2004 10:54:37 -0400 (EDT)

You can look in our cvs repository at dfxgui.cpp in the dfxgui_mac
directory to see some example code of handling these offsets and such,
including taking into account compositing vs. non-compositing windows,
which you should do as well. You'll find links and info at
http://destroyfx.org/

Marc



On Sun, 20 Jun 2004, Cesare Ferrari wrote:

> I'm writing a wrapper for a plugin GUI implemented with VSTGUI. I'm
> having trouble with my implementation of HandleEvent in my
> AUCarbonViewBase derived class.
>
> The current problem is that i'm not sure of how to convert the window
> mouse click location (as returned by GetEventParameter for
> kEventParamWindowMouseLocation) into a location within the pane that my
> controls are on.
>
> I'm offsetting by the X and Y that CreateUI provided, but i'm off by
> the size of the window title.
>
> I'm guessing i'm supposed to use some method on the mCarbonPane or the
> mCarbonWindow, any suggestions?
>
> Many thanks,
>
> Cesare
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >Problems with mouse click location in AUCarbonViewBase (From: Cesare Ferrari <email@hidden>)

  • Prev by Date: Re: Problems with mouse click location in AUCarbonViewBase
  • Next by Date: Carbon NavServices dialogs in Cocoa apps
  • Previous by thread: Problems with mouse click location in AUCarbonViewBase
  • Next by thread: Re: Problems with mouse click location in AUCarbonViewBase
  • Index(es):
    • Date
    • Thread