Problems with mouse click location in AUCarbonViewBase
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.