how to catch the IME detached event by pressing down the "back" key

When I pressed the “back” key to detach the IME,I can’t catch the IME detached event so that I don’t know how to adjust some ui’s position or other things.
PS: When pressed the “back” to detach the IME,it doesn’t trigger the method - void HelloCPP::OnBackButtonPressed(Object^ sender,BackPressedEventArgs^ args)

like martell wrote in the link: http://www.cocos2d-x.org/forums/6/topics/44344?r=44430#message-44430

@chenjc thx~:)

@chenjc It seems not that useful. What’s the point is that I have dispatch the keypad event to the running scene,then most of keyBackClicked() functions have been called except for the situation when I use the “back” key to detach the IME;

just like this:
void HelloCpp::OnBackButtonPressed(Object^ sender, BackPressedEventArgs^ args)
{
// Leave args->Handled set to false and the app will quit when user presses the back button on the phone
CCScene *scene = CCDirector::sharedDirector()->getRunningScene();
if (scene)
{
CCLayer layer = dynamic_cast<CCLayer>(scene->getChildren()->objectAtIndex(0));
if (layer)
{
if (layer->getTag() == MAIN_SCENE_TAG)
{
args->Handled = false;
}
else
{
args->Handled = true;
layer->keyBackClicked();
}
}
}
}

I’ll try ur suggestion and make a response to u later~;)