×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    38

    How to display a label on a view for sometime?

    Hi,

    I need to display a lable on view for soemtime with the satauspane and the menubar invisible. After soemtime i want to display the statuspane and the menubar and remove the label.

    All this to be done without the user clicking any button

    If i have to use a timer for this enabling and disabling of the status pane and menubar ... could any one please give me some suggestions regarding how to go abt it?

    its very urgent ... any one please give me some inputs to it ASAP


    Thanks

    Varsha.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    371

    RE: How to display a label on a view for sometime?

    Hi,

    I think it could go something like this:

    - Create a Label control
    - Set Label's Rect to fill the whole application area. Use, for example, CEikAppUi::ApplicationArea() to get whole application area.
    - Use e.g. RTimer or User::After() to get time to show the label
    - Call Label's MakeVisible(EFalse) to hide the label.

    Hope this helps.

    Best Regards,
    Marko / Forum Nokia

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    23

    RE: How to display a label on a view for sometime?

    I think that you can you add some code in the CountComponentControls() and ComponentControl() member functions. because the CountComponentControls() function return the number of controls in the view, and ComponentControl() return the point of every control in the view. so u can use a variable to indicate when to show the label

Posting Permissions

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