ProcessCommandL() & HandleCommandL()

Login to reply to this topic.
Mon, 2008-02-11 15:00
Joined: 2005-07-23
Forum posts: 18

Can anybody explain the difference between ProcessCommandL and HandleCommandL from CEikAppUi.
And... if exist function as PostMessage or SendMessage in Windows API.... i need to send message synchronously but at the same time continue to execute code...
Thanks


Tue, 2008-02-12 10:16
Joined: 2007-12-19
Forum posts: 49
Re: ProcessCommandL() & HandleCommandL()

About first part of your questions see copy-paste Info from s60 sdk


IMPORT_C void CAknAppUi::ProcessCommandL ( TInt aCommand )

Processes user commands.

This function passes aCommand (except values EAknSoftkeyOptions, EAknCmdExit, EEikCmdCanceled) to user derived HandleCommandL.

Parameters:
aCommand A command ID.



So as you can see, ProcessCommandL handles calls of EAknSoftkeyOptions, EAknCmdExit, EEikCmdCanceled commands by itself. If other command is passed to this method it calls HandleCommandL method.

  • Login to reply to this topic.