Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to control the "SUBMIT" button when the ENTER is pressed from keyboard

how to control the "SUBMIT" button when the ENTER is pressed from keyboard

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shiva shankar
    wrote on last edited by
    #1

    In my project i am trying to take LOGIN and PASSWORD of the user,when the user enter the login and password and then press "ENTER" from the keyboard , then dialog box is getting termernated(i,e "EXIT" BUTTON),but i want to control on "SUBMIT" button when the ENTER is pressed..

    G D 2 Replies Last reply
    0
    • S shiva shankar

      In my project i am trying to take LOGIN and PASSWORD of the user,when the user enter the login and password and then press "ENTER" from the keyboard , then dialog box is getting termernated(i,e "EXIT" BUTTON),but i want to control on "SUBMIT" button when the ENTER is pressed..

      G Offline
      G Offline
      Ghazi H Wadi
      wrote on last edited by
      #2

      check the button's default property on It is Illogical to define an inventor by his invention

      1 Reply Last reply
      0
      • S shiva shankar

        In my project i am trying to take LOGIN and PASSWORD of the user,when the user enter the login and password and then press "ENTER" from the keyboard , then dialog box is getting termernated(i,e "EXIT" BUTTON),but i want to control on "SUBMIT" button when the ENTER is pressed..

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Read here for why this is happening.


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups