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. Edit Control - calculator

Edit Control - calculator

Scheduled Pinned Locked Moved C / C++ / MFC
15 Posts 5 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.
  • T Tony Teveris

    I'm looking for a "edit" type control where the user can enter and equation mixing units (metric / english), etc including +,-,*,/..... Thanks in advance Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

    C Offline
    C Offline
    Cedric Moonen
    wrote on last edited by
    #2

    :doh: I think your question is not very well formulated ! Because the standard edit control accept those characters... What are you looking for exactly ? Maybe you want to implement a kind of parser or xomething like that ? If yes, look in the articles of this website, there is a section about parsers (don't remember exactly where). Otherwise, try to be a little bit more explicit.

    1 Reply Last reply
    0
    • T Tony Teveris

      I'm looking for a "edit" type control where the user can enter and equation mixing units (metric / english), etc including +,-,*,/..... Thanks in advance Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #3

      try Tox parser http://www.codeproject.com/cpp/VisualCalc.asp[^]

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta

      T T 2 Replies Last reply
      0
      • T ThatsAlok

        try Tox parser http://www.codeproject.com/cpp/VisualCalc.asp[^]

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta

        T Offline
        T Offline
        Tony Teveris
        wrote on last edited by
        #4

        Thats what I want - Thank you Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

        T 1 Reply Last reply
        0
        • T Tony Teveris

          Thats what I want - Thank you Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #5

          Tony Teveris wrote: Thank you Say Thanks to toxcct[^] :)

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta

          1 Reply Last reply
          0
          • T Tony Teveris

            I'm looking for a "edit" type control where the user can enter and equation mixing units (metric / english), etc including +,-,*,/..... Thanks in advance Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

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

            See these masked edit controls.


            "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

            1 Reply Last reply
            0
            • T ThatsAlok

              try Tox parser http://www.codeproject.com/cpp/VisualCalc.asp[^]

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

              cheers, Alok Gupta

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #7

              hey, very interesting, i'll have a look at this !!! :-D :rose:


              TOXCCT >>> GEII power
              [toxcct][VisualCalc]

              T 1 Reply Last reply
              0
              • T toxcct

                hey, very interesting, i'll have a look at this !!! :-D :rose:


                TOXCCT >>> GEII power
                [toxcct][VisualCalc]

                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #8

                toxcct wrote: i'll have a look at this So,Whats your opinion about that :)

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta

                T 1 Reply Last reply
                0
                • T ThatsAlok

                  toxcct wrote: i'll have a look at this So,Whats your opinion about that :)

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta

                  T Offline
                  T Offline
                  toxcct
                  wrote on last edited by
                  #9

                  actually, i think it's far from being perfect... i really liked to add formal calculation into it (like "x + x" returning "2x") i also like to add more personalization, like allowing the users to configure the number of digits they'd like to appearing as a result, etc... I also thought (one day i was dreaming too much) to adding a graphical area to draw functions (2D or 3D why not :-D ) but i saddly don't have enough time to make all these at the moment... hey, you know what ? i really liked to share this with you (if you agree of course)... it would be grateful to me if you accepted to become my co-author on that article, or at least, help me with some useful tips/suggestions... i'm waiting for your answer "hurrily" sincerly,


                  TOXCCT >>> GEII power
                  [toxcct][VisualCalc]

                  T 2 Replies Last reply
                  0
                  • T toxcct

                    actually, i think it's far from being perfect... i really liked to add formal calculation into it (like "x + x" returning "2x") i also like to add more personalization, like allowing the users to configure the number of digits they'd like to appearing as a result, etc... I also thought (one day i was dreaming too much) to adding a graphical area to draw functions (2D or 3D why not :-D ) but i saddly don't have enough time to make all these at the moment... hey, you know what ? i really liked to share this with you (if you agree of course)... it would be grateful to me if you accepted to become my co-author on that article, or at least, help me with some useful tips/suggestions... i'm waiting for your answer "hurrily" sincerly,


                    TOXCCT >>> GEII power
                    [toxcct][VisualCalc]

                    T Offline
                    T Offline
                    ThatsAlok
                    wrote on last edited by
                    #10

                    toxcct wrote: i really liked to share this with you (if you agree of course)... it would be grateful to me Thanks for offer :),I need some time to think over it if you don't mind. I amn't Intelligent as you,you know many thing which I still learning :). toxcct wrote: help me with some useful tips/suggestions... Hain no thanks and sorry in FriendShip and when ever you need help at any point of time just Shoot me a email. I hope you got my Email Address :)

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    cheers, Alok Gupta

                    T 1 Reply Last reply
                    0
                    • T ThatsAlok

                      toxcct wrote: i really liked to share this with you (if you agree of course)... it would be grateful to me Thanks for offer :),I need some time to think over it if you don't mind. I amn't Intelligent as you,you know many thing which I still learning :). toxcct wrote: help me with some useful tips/suggestions... Hain no thanks and sorry in FriendShip and when ever you need help at any point of time just Shoot me a email. I hope you got my Email Address :)

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta

                      T Offline
                      T Offline
                      toxcct
                      wrote on last edited by
                      #11

                      ThatsAlok wrote: I need some time to think over it if you don't mind no problem. ThatsAlok wrote: amn't Intelligent as you,you know many thing which I still learning hum, are you sure ?! ;P if i look at your birthday, you're older than me ;) ThatsAlok wrote: Hain no thanks and sorry in FriendShip hum, i'm not certain to understand 'cause my poor english doesn't "decode" this sentence... :-D anyway, thanks for you're support ;) cheers,


                      TOXCCT >>> GEII power
                      [toxcct][VisualCalc]

                      T 1 Reply Last reply
                      0
                      • T toxcct

                        ThatsAlok wrote: I need some time to think over it if you don't mind no problem. ThatsAlok wrote: amn't Intelligent as you,you know many thing which I still learning hum, are you sure ?! ;P if i look at your birthday, you're older than me ;) ThatsAlok wrote: Hain no thanks and sorry in FriendShip hum, i'm not certain to understand 'cause my poor english doesn't "decode" this sentence... :-D anyway, thanks for you're support ;) cheers,


                        TOXCCT >>> GEII power
                        [toxcct][VisualCalc]

                        T Offline
                        T Offline
                        ThatsAlok
                        wrote on last edited by
                        #12

                        toxcct wrote: Hain no thanks and sorry in FriendShip hum, i'm not certain to understand 'cause my poor english doesn't "decode" this sentence... I want to say :- no need to be formal with me :)

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                        cheers, Alok Gupta

                        1 Reply Last reply
                        0
                        • T toxcct

                          actually, i think it's far from being perfect... i really liked to add formal calculation into it (like "x + x" returning "2x") i also like to add more personalization, like allowing the users to configure the number of digits they'd like to appearing as a result, etc... I also thought (one day i was dreaming too much) to adding a graphical area to draw functions (2D or 3D why not :-D ) but i saddly don't have enough time to make all these at the moment... hey, you know what ? i really liked to share this with you (if you agree of course)... it would be grateful to me if you accepted to become my co-author on that article, or at least, help me with some useful tips/suggestions... i'm waiting for your answer "hurrily" sincerly,


                          TOXCCT >>> GEII power
                          [toxcct][VisualCalc]

                          T Offline
                          T Offline
                          ThatsAlok
                          wrote on last edited by
                          #13

                          toxcct wrote: i'm waiting for your answer "hurrily" I have a OFFER for you! Will you be my Co-Author in 45 Days Series :)

                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                          cheers, Alok Gupta

                          T 1 Reply Last reply
                          0
                          • T ThatsAlok

                            toxcct wrote: i'm waiting for your answer "hurrily" I have a OFFER for you! Will you be my Co-Author in 45 Days Series :)

                            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                            cheers, Alok Gupta

                            T Offline
                            T Offline
                            toxcct
                            wrote on last edited by
                            #14

                            ThatsAlok wrote: Will you be my Co-Author in 45 Days Series definitely yes !! :-D i never had such an opportunity, and it's an occasion so great and so funny that a say YES to your offer ! moreover, it's very advantageaous to sharing knowledges like this, and so more when it's hard to find some work (especially when many of the employers requiere to have a good english level...). ok, now, when do we start ? what's my first task captain ??? :-D


                            TOXCCT >>> GEII power
                            [toxcct][VisualCalc]

                            T 1 Reply Last reply
                            0
                            • T toxcct

                              ThatsAlok wrote: Will you be my Co-Author in 45 Days Series definitely yes !! :-D i never had such an opportunity, and it's an occasion so great and so funny that a say YES to your offer ! moreover, it's very advantageaous to sharing knowledges like this, and so more when it's hard to find some work (especially when many of the employers requiere to have a good english level...). ok, now, when do we start ? what's my first task captain ??? :-D


                              TOXCCT >>> GEII power
                              [toxcct][VisualCalc]

                              T Offline
                              T Offline
                              ThatsAlok
                              wrote on last edited by
                              #15

                              toxcct wrote: definitely yes !! Nice :) toxcct wrote: what's my first task captain ??? I will send you first task by email, gather good question from them :) Ok!,Also a intresting comment is posted on 45 day series article page, have look over it

                              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                              cheers, Alok Gupta

                              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