your design is vague for me, perhaps you might want to give a better description of the components involved. But here is the basics
If your custom TabControl has the shortcut panel visible within its bounds, you just have to create a designer class for it. Override the GetHitTest method and test if the mouse coordinates is within the shortcutpanel bounds utilizing PointToClient method of the control. If it is within the bounds, return TRUE meaning the mouse events will be forwarded to the underlying control at design time. If you already have a MouseClick handler attached to the shortcut panel (whatever that is), it will be triggered.
hope i make some sense, :p. |