Discussion Board

Results 1 to 2 of 2

Thread: Dialog button

  1. #1
    Registered User cl_fragen's Avatar
    Join Date
    Mar 2003
    Posts
    25
    How do I make a DLG_BUTTON in a dialog the one which catches the "Enter" keypress (and which will be underlined)?

  2. #2
    Regular Contributor OSXDev's Avatar
    Join Date
    Mar 2003
    Posts
    157
    This is one possibility:

    void CMyDialog::PreLayoutDynInitL()
    {
    // Set "OK" to be the default command
    ButtonGroupContainer().SetDefaultCommand(EEikBidOk);

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