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

Problems with mouse click location in AUCarbonViewBase


  • Subject: Problems with mouse click location in AUCarbonViewBase
  • From: Cesare Ferrari <email@hidden>
  • Date: Sun, 20 Jun 2004 08:47:52 +0100

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.


  • Follow-Ups:
    • Re: Problems with mouse click location in AUCarbonViewBase
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: how soon is now?
  • Next by Date: Re: Problems with mouse click location in AUCarbonViewBase
  • Previous by thread: tracking CPU per AU in AUGraph
  • Next by thread: Re: Problems with mouse click location in AUCarbonViewBase
  • Index(es):
    • Date
    • Thread