×

Discussion Board

Results 1 to 13 of 13

Thread: CBA fullscreen

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Question CBA fullscreen

    I use a background picture to fullscreen on x5800, and the CBA area is also be overlay.

    Now i want it show menu when i point CBA area just like click "option" in noraml mode.

    but i have found any api to do this.

    The same application is run on 3rd ok, when i press leftkey, it will popup menu list.

    so how can realize this? Thanks

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

    Re: CBA fullscreen

    you would propably need to decide what aprt of your container should bring up the menu, then check in your pointer event handling whether the area was pressed, and then just open the menu..

  3. #3
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,079

    Re: CBA fullscreen

    hi you can try:
    Cba() ->MakeVisible(ETrue);
    CBa()->DrawNow();

    call the above code whenevr you make pointer event in the cba region

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Quote Originally Posted by symbianyucca View Post
    you would propably need to decide what aprt of your container should bring up the menu, then check in your pointer event handling whether the area was pressed, and then just open the menu..
    yes, i will use handlepointevent function to process point event, but the qustion is

    that how to open menu when the point is located in the CBA area.

    Thanks

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

    Re: CBA fullscreen

    you could try: CEikonEnv::Static()->AppUiFactory()->MenuBar()->TryDisplayMenuBarL();

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Quote Originally Posted by symbianyucca View Post
    you could try: CEikonEnv::Static()->AppUiFactory()->MenuBar()->TryDisplayMenuBarL();
    I use this function, but it leaves when i click CBA region.

  7. #7
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,079

    Re: CBA fullscreen

    hi..how about using this:

    Cba() ->MakeVisible(ETrue);
    CBa()->DrawNow();

  8. #8
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Quote Originally Posted by vineet.jain View Post
    hi..how about using this:

    Cba() ->MakeVisible(ETrue);
    CBa()->DrawNow();
    I also try it, but it doesn't work. Nothing popups or leave, so i wonder whether

    my fullscreen application has some wrong, Thanks.

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,079

    Re: CBA fullscreen

    i think the problem is that, the fullscreen image has hidden your cba's and now you have any access to them.Why don't you try taking a image with cba keys written on it.For e.g take an image with option written on one side and exit on one side and then when you make pointer event on options then a menu can be opened.

  10. #10
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Quote Originally Posted by vineet.jain View Post
    i think the problem is that, the fullscreen image has hidden your cba's and now you have any access to them.Why don't you try taking a image with cba keys written on it.For e.g take an image with option written on one side and exit on one side and then when you make pointer event on options then a menu can be opened.
    when DoActive() in view, i use Cba()->MakeVisible(ETrue); but it will not show CBA because the full screen image overlayer it.

    I also write option the the left bottom of image, and exit on the right bottom of image,

    but it should create menu, and will not show system menu.

    My purpose make the code same as S60 3rd, that when press left softkey(Option) on 3rd phone, eg, N95, the application will pop up menu, and user can select or cancel.

    And i found the Map application in 5800 also has this function, that use a fullscreen image and there are option and exit in the CBA region, when touch option, it will pop up system menu, i don't know how to realize this.

    Thanks very much, i am waiting online.

  11. #11
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,079

    Re: CBA fullscreen

    i think may be if its possible that you give the size of your image till the cba region, and not overlap your image on the cba's.I mean define your image area till where the cba starts.

  12. #12
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Quote Originally Posted by vineet.jain View Post
    i think may be if its possible that you give the size of your image till the cba region, and not overlap your image on the cba's.I mean define your image area till where the cba starts.
    It seems strange in GUI, not like a full screen application. I want to hide CBA, but when click the CBA region, it can show option menu.

  13. #13
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: CBA fullscreen

    Anybody has some clue?

Similar Threads

  1. Replies: 5
    Last Post: 2009-04-07, 09:53
  2. How to use cba with LaunchPopupMenuL?
    By larrydb in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-11-03, 09:24
  3. Stang Problem of CBA
    By j_b_luo in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-03-27, 14:59
  4. CBA problem in fullscreen view
    By iulian_moldovan in forum Symbian
    Replies: 2
    Last Post: 2006-06-01, 12:55
  5. CBA, menu and key events
    By joker_pl in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-09-19, 10:27

Posting Permissions

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