×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    20

    Remove control from view

    I have list control (list 1). When click on one it's item, my application will switch to another list (list 2) but when click "back" button , i want to delete list 2 and view list 1. I try to use RemoveFromViewStack and RemoveFromStack API, list 2 is freezed and still appear. How to solve my problem ?

    Sorry for my poor English :D

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Remove control from view

    The control stack is about forwarding (keyboard) events to controls. Rendering them happens via CountComponentControls and ComponentControl. However your use case is exactly the reason for views to exist, so if your application is CAknView-based already, you should consider creating a new view for the ... for the new view actually.

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    20

    Re: Remove control from view

    Ok. I will think about view like form in other language and push my list in to view, switch between views. Symbian C++ is so... stranger :D

Similar Threads

  1. how can i remove control pane for my application?
    By tlr in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-04-01, 08:17
  2. How to remove Caption(prompt) from form view
    By bytes in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-04-14, 06:17
  3. remove cba button from view through code
    By kishore84 in forum Symbian
    Replies: 2
    Last Post: 2008-01-09, 10:32
  4. How to remove a view?
    By xianwentong in forum Symbian
    Replies: 3
    Last Post: 2006-03-30, 01:43
  5. Non Window Owning Control that is not a component control of the View
    By sriram_y64 in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-12-03, 06:12

Posting Permissions

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