Hi,
I want to add my own cba buttons to the global note but it doesn't work..Can any one help me out
here is the code piece
CAknGlobalNote* note = CAknGlobalNote::NewLC();
TRequestStatus zRequestStatus;
note->SetSoftkeys(R_SOFTKEYS_UPGRADEVERSION);
note->ShowNoteL(zRequestStatus, EAknGlobalInformationNote, aPromptText);
User::WaitForRequest(zRequestStatus);
CleanupStack::PopAndDestroy();
if (zRequestStatus == EAknSoftkeyYes)
return 1;
return 0;
and R_SOFTKEYS_UPGRADEVERSION is defined in the rss file as follows
RESOURCE CBA r_softkeys_upgradeversion
{
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyYes;
txt = qtn_softkey_upgrade;
},
CBA_BUTTON
{
id = EAknSoftkeyNo;
txt = qtn_softkey_cancel;
}
};
}
please help!!
Thanks
Murk

Reply With Quote



