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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Maskededit control

Maskededit control

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
5 Posts 2 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.
  • C Offline
    C Offline
    C NewBe
    wrote on last edited by
    #1

    I am having a tough time getting maskededit control to display any Alphanumeric text in C++. I have used maskededit control in VB with no problem. I need some help.....

    D 1 Reply Last reply
    0
    • C C NewBe

      I am having a tough time getting maskededit control to display any Alphanumeric text in C++. I have used maskededit control in VB with no problem. I need some help.....

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

      C++NewBe wrote: I am having a tough time getting maskededit control... Which one? VC++ does not have a built-in one (i.e., comctl32.dll).


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      C 1 Reply Last reply
      0
      • D David Crow

        C++NewBe wrote: I am having a tough time getting maskededit control... Which one? VC++ does not have a built-in one (i.e., comctl32.dll).


        "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

        C Offline
        C Offline
        C NewBe
        wrote on last edited by
        #3

        Yes it does not but you can insert it in the project using "Insert ActiveX Control" and select "Microsoft Masked Edit Control, version 6.0".

        D 1 Reply Last reply
        0
        • C C NewBe

          Yes it does not but you can insert it in the project using "Insert ActiveX Control" and select "Microsoft Masked Edit Control, version 6.0".

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

          Of course. It's not quite built-in as it is an external ActiveX control, but a masked edit control nonetheless. What specific problem are you having with it? You indicated that alphanumeric text was troubling you. Does that imply that alpha-only and numeric-only are working fine? I'm just trying to narrow down if it's a specific usage of the control that's the problem, or the control as a whole. What mask/format are you trying to use?


          "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          C 1 Reply Last reply
          0
          • D David Crow

            Of course. It's not quite built-in as it is an external ActiveX control, but a masked edit control nonetheless. What specific problem are you having with it? You indicated that alphanumeric text was troubling you. Does that imply that alpha-only and numeric-only are working fine? I'm just trying to narrow down if it's a specific usage of the control that's the problem, or the control as a whole. What mask/format are you trying to use?


            "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

            C Offline
            C Offline
            C NewBe
            wrote on last edited by
            #5

            Whether I use a mask for numeric or no mask for just plain string, I am not able to display anything at all in the control. I created a simple project with just the dialog and the control and I am still unable to display any string.

            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