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.
What is the control's maximum? Did you remember to set it to the number
of items in the menu? That's a common mistake. (And this mistake hasn't
changed in ten years either ;)
This has worked using pre-Mac OS.
What? On the Apple IIGS ? ;)
Bryan
_______________________________________________
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