On my emulator there are four sub menu for "send" such as Via Bluetooth, Via infrared,
I want to add my own menu there, to do this I add a new MTM, but failed to realize it.

========================================================
1. WindowsXP + S60 3rd edition SDK + Visaul Stdio 2003 + carbide_vs_201

2. piece of resource file for UI DATA MTM:
// MTM-specific function array
RESOURCE MTUD_FUNCTION_ARRAY r_textud_function_array
{
functions={
MTUD_FUNCTION
{ functiontext="Refresh service";
command=ETxtuCommandRefreshMBox;
key='a';
flags=EMtudCommandTransferReceive;
},
MTUD_FUNCTION
{ functiontext="Send to NPeople";
command=ETxtuCommandExportText;
key='s';
keymodifiers=EMtudCtrl;
flags=EMtudCommandSendAs;
type=EMtudContextSpecific;
}
};
}

3.QueryCapability(TUid aCapability, TInt& aResponse) const
Make this function return ETrue for KUidMtmQueryCanSendMsgValue query

4.all Dlls/libs in /sys/bin,
all resource file in /resource/messaging/
MTM registration file in /resource/messaging/mtm/

========================================================
I run debug mode, and get break when open the image gallery, the OS do
create a UI Data MTM component, and query the capability for KUidMtmQueryCanSendMsgValue
where I tured ETure, but the send menu just doesn't appear? What's the problem?
Actually I am not sure if this is the method to add Send menu, I noticed that
in CSendApp there is a function named AddSendMenuItemL ,
I write a little app to test this function but seems that it can not add the menu
too..

how can I add a send menu? Any information is appreciate.

Regards,
bibu