05-26-2006, 02:14 PM
Gintaras Wrote:In a toolbar:This works great for the toolbar, but the menus that I have placed on the toolbar do not work now
In the macro (first line):
hwnd will be toolbar owner window handle.
Save File to Distribution :mac "SaveFileD" "" GetWindow(val(_command) GW_OWNER) * S:\Shared\icons\savefd.ico
Email File :mac "EmailFile" "" GetWindow(val(_command) GW_OWNER) * S:\Shared\icons\email.icoThis is a snippet from a menu that I have on the tool bar. When the function gets called, the hwnd is 0.
El Brooks
