Button ToolBar for UIQ2.1

Login to reply to this topic.
Thu, 2007-11-15 08:06
Joined: 2007-09-28
Forum posts: 3

Hi All,

I am trying to create a button for UIQ 2.1 statically using the following code.

RESOURCE EIK_APP_INFO
{
toolbar=r_example_toolbar;
}

RESOURCE QIK_TOOLBAR r_example_toolbar
{
controls=
{
QIK_TBAR_BUTTON // Text button.
{
id=EMyToolbarTextButton;
flags=EEikToolBarCtrlHasSetMinLength;
alignment = EQikToolbarLeft;
txt="Text";
}
};
}

But when I run the program either on emulator or P900 it gets terminated as soon as
I start and gives the Reason Number 85.

Pls help me out in creating a button for P900.

If anyone can provide me small snippet I will be highly thankful.

Thanks And Regards
Prakhar

  • Login to reply to this topic.