Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor devdattac's Avatar
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    CEikEnv::Static()->AppUi(), might work..

  3. #3
    Regular Contributor devdattac's Avatar
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223
    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 C++
    Replies: 3
    Last Post: 2006-05-17, 05:30
  4. 新手求救!錯誤訊息!
    By wgarnett in forum Symbian
    Replies: 2
    Last Post: 2005-09-26, 02:21
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved