×

Discussion Board

Results 1 to 2 of 2

Thread: Dialog button

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    25

    Dialog button

    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
    Join Date
    Mar 2003
    Posts
    157

    RE: Dialog button

    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
  •  
×