×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Undeclared Identifier AppUi()

    Hi All,
    Is there any way i can make AppUi() work in container class ?
    In my application I want to switch view according selected list index in HandleListBoxEvent() defined in container class.
    Please help me ASAP....
    Thanx..

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Undeclared Identifier AppUi()

    CEikEnv::Static()->AppUi(), might work..

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Re: Undeclared Identifier AppUi()

    Thanx 4 reply symbianyucca,
    finally I solved my problem.
    I use following line in my container class to obtain appui class instance and from that instance I able to call public method of AppUi class in container ....

    CMyTestAppUi* iAppUi = reinterpret_cast<CMyTestAppUi*>( CCoeEnv::Static()->AppUi());

Similar Threads

  1. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  2. Whats missing?
    By imrank in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-08-28, 07:22
  3. help !! about SIP errors
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2006-05-17, 05:30
  4. undeclared identifier: AddViewL()"
    By morpheus2973 in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-10-08, 17:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×