Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Revision as of 05:36, 14 July 2011 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dialogs pré-definidas em c++

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Emulador
Compatibility
Platform(s): S60, UIQ, S80
Article
Keywords: dialogs
Created: lpvalente (01 de setembro, 2009)
Last edited: hamishwillee (14 Jul 2011)


A API c++ para Symbian oferece através da classe CEikonENv dialogs pré-definidas que podem ser usadas sem a necessidade de uso de arquivos de recurso (.rss), oferecendo assim uma alternativa mais simples para o uso de dialogs.

Os seguintes métodos exibem diferentes tipos de dialogs:

static void InfoWinL (const TDesC& aFirstLine1, const TDesC& aSecondLine2);

Exibe uma dialog simples com duas linhas de texto.

void CEikonEnv::AlertWin(const TDesC& aLine1, const TDesC& aLine2)

Exibe uma dialog de alerta com duas linhas de texto.

static TBool QueryWinL (const TDesC &aFirstLine, const TDesC &aSecondLine);

Exibe uma dialog com duas linhas de texto e a opção Yes/No. Retorna ETrue se Yes foi escolhido e EFalse caso No seja escolhido.

This page was last modified on 14 July 2011, at 05:36.
348 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×