Discussion Board

Results 1 to 2 of 2

Thread: Help with Views

  1. #1
    Registered User belthree's Avatar
    Join Date
    Oct 2006
    Posts
    20
    I haven't been able to find much on this. I'm creating a simple app in Carbide C++ that has multiple views. I did something similar to the Multiviews example in SDK but I still get this error. I'm simply trying to switch views. The switching is fine, I know how to do that, but I have a drawing problem. When the view opens, and the container is drawn, it doesn't draw over the entire client rectangle. I look at the TRect that is passed to my container's draw function and it's 176x124 which will leave a bit of area that is not drawn over and I see the screen that is behind my app (the task list). I know that the Draw function should be getting 176x144. Anyone have an idea why the Draw function is getting the smaller TRect. I've looked at how I set up the view and I have the same code as in the SDK examples. Please help!!!

  2. #2
    Registered User belthree's Avatar
    Join Date
    Oct 2006
    Posts
    20
    Nevermind. I realized that in the .rss, if the EIK_APP_INFO resource has the cba value set, it causes that issue. Damn, took forever to figure that out!!!

Similar Threads

  1. temporary store data for views
    By ArneH in forum Symbian User Interface
    Replies: 2
    Last Post: 2004-09-17, 12:56
  2. How to show tabs on selected views
    By qianghstc in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-07-16, 05:04
  3. got stuck with views
    By gsmartphone in forum Symbian C++
    Replies: 1
    Last Post: 2004-01-06, 14:47
  4. got stuck with views
    By gsmartphone in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-01-06, 14:15
  5. Switching views on a Dialog-based Views App
    By net314 in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-08-26, 21:05

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