r = GetCore().AttachSystemChild(pHeader->GetCore());
SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+
+ GetCore().SetFormBackEventListener(this);
}
}
else if (formStyle & FORM_STYLE_TITLE)
r = GetCore().AttachSystemChild(pFooter->GetCore());
SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+
+ GetCore().SetFormBackEventListener(this);
+ GetCore().SetFormMenuEventListener(this);
}
}
else if (formStyle & FORM_STYLE_SOFTKEY_0 || formStyle & FORM_STYLE_SOFTKEY_1 || formStyle & FORM_STYLE_OPTIONKEY)
}
}
- GetCore().SetFormBackEventListener(this);
- GetCore().SetFormMenuEventListener(this);
-
GetCore().AdjustClientBounds();
SetLastResult(E_SUCCESS);