Liang Weike schrieb: > Hello Carsten, > > I want to capture the message when I push the button within toolbar > which can trigger a listbox to pop-up.So where should I set the > breakpoint? As far as I know,"rShell.CallExec( pFunc, rReq );" handles > the commands from users and dispatches them.But it can not capture the > message I mentioned to you.Could you please tell me?
Hi Liang Weike, Toolbar items which provides additional services, like open a list box, a context menu or a sub toolbar are implemented using toolbar controllers. There is no central code which handles these events. Every toolbar controller has its own implementation. You have to look for the special toolbar controller you are interested in. Most toolbar controllers are implemented in svx\source\tbxctrls. There are some which are implemented in the application projects (sw, sc, sd). Regards, Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]