how we can add custom buttons to global note

Login to reply to this topic.
Wed, 2008-05-07 07:28
Joined: 2008-04-16
Forum posts: 24

i created a custom softkey R_SOFTKEYS_OPTIONS_HI
i want to set this softkey to Globalnote

i tried this:
CAknGlobalNote* globalNote = CAknGlobalNote::NewLC();
globalNote->ShowNoteL( EAknGlobalTextNote, _L("InitiaLizing") );
globalNote->SetSoftkeys(R_SOFTKEYS_OPTIONS_HI);
CleanupStack::PopAndDestroy( globalNote );

but it's not working and how can i handle this events
thank u


Wed, 2008-05-07 15:04
Joined: 2006-11-23
Forum posts: 15
Re: how we can add custom buttons to global note

Hi arumilli,

have a look here, what u want to achieve is explained here with sample code....

http://www.forum.nokia.com/document/Cpp_Developers_Library/GUID-96C272CA-2BED-4352-AE7C-E692B193EC06/html/Notes_API4.html#topic3.6

Br,
Pankaj


Pankaj Dubey

Wed, 2008-05-14 08:11
Joined: 2008-04-16
Forum posts: 24
Re: how we can add custom buttons to global note

how can i handle predefined softkey events
CAknGlobalNote* globalNote = CAknGlobalNote::NewLC();
globalNote->SetSoftkeys(R_AVKON_SOFTKEYS_CALL_CANCEL);
globalNote->ShowNoteL( EAknGlobalTextNote, _L("InitiaLizing") );
how can i handle call and cancel events
thank u

  • Login to reply to this topic.