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 create a imput mask?

how to create a imput mask?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
5 Posts 4 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
    jafrazee
    wrote on last edited by
    #1

    i have a Cedit control that hold phone#. i can create a display mask to show the phone # like(111)111-1111. but how can i create this as an imput mask for automatically place the () and- while typing and also not let them type alpha char? thank you.

    C D 2 Replies Last reply
    0
    • J jafrazee

      i have a Cedit control that hold phone#. i can create a display mask to show the phone # like(111)111-1111. but how can i create this as an imput mask for automatically place the () and- while typing and also not let them type alpha char? thank you.

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      try looking in the Edit Controls section of this site. there are probably five or six of them there. -c


      "Do you mind if I smoke?" "Madam, I don't care if you burn."    -Oscar Wilde Smaller Animals Software, Inc.

      1 Reply Last reply
      0
      • J jafrazee

        i have a Cedit control that hold phone#. i can create a display mask to show the phone # like(111)111-1111. but how can i create this as an imput mask for automatically place the () and- while typing and also not let them type alpha char? thank you.

        D Offline
        D Offline
        dazinith
        wrote on last edited by
        #3

        http://www.codeproject.com/editctrl/maskededit.asp im using this control, its pretty k-rad, but it seems to have a problem when tabbing from field to field (doesn't highlight the field).. btw, the typo in the title made me laugh :) -dz

        J 1 Reply Last reply
        0
        • D dazinith

          http://www.codeproject.com/editctrl/maskededit.asp im using this control, its pretty k-rad, but it seems to have a problem when tabbing from field to field (doesn't highlight the field).. btw, the typo in the title made me laugh :) -dz

          J Offline
          J Offline
          Jon Hulatt
          wrote on last edited by
          #4

          What the hell is "k-rad" ? is it kEwl sPeEK ?? Sorry to dissapoint you all with my lack of a witty or poignant signature.

          D 1 Reply Last reply
          0
          • J Jon Hulatt

            What the hell is "k-rad" ? is it kEwl sPeEK ?? Sorry to dissapoint you all with my lack of a witty or poignant signature.

            D Offline
            D Offline
            dazinith
            wrote on last edited by
            #5

            somethin like that ;P -dz

            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