mouse = pEvent->where;
GlobalToLocal(&mouse);
theControl = FindControlUnderMouse(mouse, pWindow, &part);
if (HandleControlClick(theControl, mouse, pEvent->modifiers,
(ControlActionUPP) -1)) {
short value = GetControlValue(theControl);
etc.
}
}
The tracking works well but the selection in the menu always returns to the
top of the list. It would not show the menu selection chosen after releasing
the mouse button, thus returning to a value of one.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden