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. Should Be Simple Disabling "Return"

Should Be Simple Disabling "Return"

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • J Offline
    J Offline
    JKallen
    wrote on last edited by
    #1

    Currently I have a dialog based application that closes automatically if the user hits the "return" key. How do i disable this?

    M 1 Reply Last reply
    0
    • J JKallen

      Currently I have a dialog based application that closes automatically if the user hits the "return" key. How do i disable this?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      See the FAQ 7.4 How do I prevent a dialog from closing when the user presses Enter or Esc?[^] --Mike-- LINKS~! Ericahist updated! | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

      J 1 Reply Last reply
      0
      • M Michael Dunn

        See the FAQ 7.4 How do I prevent a dialog from closing when the user presses Enter or Esc?[^] --Mike-- LINKS~! Ericahist updated! | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

        J Offline
        J Offline
        JKallen
        wrote on last edited by
        #3

        If I disable the OnOK and OnCancel, how can I close the app when a user clicks on the "x" from the system menu or selects the File Ext command?

        N 1 Reply Last reply
        0
        • J JKallen

          If I disable the OnOK and OnCancel, how can I close the app when a user clicks on the "x" from the system menu or selects the File Ext command?

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          JKallen wrote: If I disable the OnOK and OnCancel, how can I close the app when a user clicks on the "x" from the system menu or selects the File Ext command? http://blog.voidnish.com/index.php?p=31[^]

          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