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. move [modified]

move [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
29 Posts 10 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.
  • Y Offline
    Y Offline
    yogendra kaushik
    wrote on last edited by
    #1

    plz help me ANY BODY FIND SOLUTION TO MY PROBLEM send me code to help \\\\\\ i hav made a dialog based application now i want that onmy dialog i add "hello how r u" through Static control now i want that it moves on the screen regularly all the time fron left to right like screen saver but i dont know how to do it plz tel me and send me code to solve my problem Please mail me -- modified at 5:36 Wednesday 21st June, 2006

    _ H Y 3 Replies Last reply
    0
    • Y yogendra kaushik

      plz help me ANY BODY FIND SOLUTION TO MY PROBLEM send me code to help \\\\\\ i hav made a dialog based application now i want that onmy dialog i add "hello how r u" through Static control now i want that it moves on the screen regularly all the time fron left to right like screen saver but i dont know how to do it plz tel me and send me code to solve my problem Please mail me -- modified at 5:36 Wednesday 21st June, 2006

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      We have already provided the code to you dear . Use MoveWindow() or SetWindowPos() and in the timer function keep on changing the coordinates for the new position of the window.To set timer define a timer id say #define ID_MYTIMER 301 //use SetTimer() // Kill Timer()// when you want to stop the timer That is all with what you need to build a moving window. You have to just write the logic of checking the bounds upto which you want to show your control moving. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

      S Y 2 Replies Last reply
      0
      • Y yogendra kaushik

        plz help me ANY BODY FIND SOLUTION TO MY PROBLEM send me code to help \\\\\\ i hav made a dialog based application now i want that onmy dialog i add "hello how r u" through Static control now i want that it moves on the screen regularly all the time fron left to right like screen saver but i dont know how to do it plz tel me and send me code to solve my problem Please mail me -- modified at 5:36 Wednesday 21st June, 2006

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        i wrote for you Movewindow setwindow and timer and you asked previous question_**


        **_

        whitesky


        1 Reply Last reply
        0
        • _ _AnsHUMAN_

          We have already provided the code to you dear . Use MoveWindow() or SetWindowPos() and in the timer function keep on changing the coordinates for the new position of the window.To set timer define a timer id say #define ID_MYTIMER 301 //use SetTimer() // Kill Timer()// when you want to stop the timer That is all with what you need to build a moving window. You have to just write the logic of checking the bounds upto which you want to show your control moving. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          On a side note it is generally better to use an enum to define an integral constant. i.e. enum { ID_MYTIMER = 301 }; One of the reasons is that macros don't obey C++ scoping rule: for example you can't put a macro in a namespace. Steve

          _ 1 Reply Last reply
          0
          • _ _AnsHUMAN_

            We have already provided the code to you dear . Use MoveWindow() or SetWindowPos() and in the timer function keep on changing the coordinates for the new position of the window.To set timer define a timer id say #define ID_MYTIMER 301 //use SetTimer() // Kill Timer()// when you want to stop the timer That is all with what you need to build a moving window. You have to just write the logic of checking the bounds upto which you want to show your control moving. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

            Y Offline
            Y Offline
            yogendra kaushik
            wrote on last edited by
            #5

            but i t do not move regulary on page it disappear and not move Please mail me

            _ 1 Reply Last reply
            0
            • Y yogendra kaushik

              plz help me ANY BODY FIND SOLUTION TO MY PROBLEM send me code to help \\\\\\ i hav made a dialog based application now i want that onmy dialog i add "hello how r u" through Static control now i want that it moves on the screen regularly all the time fron left to right like screen saver but i dont know how to do it plz tel me and send me code to solve my problem Please mail me -- modified at 5:36 Wednesday 21st June, 2006

              Y Offline
              Y Offline
              yogendra kaushik
              wrote on last edited by
              #6

              CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX Please mail me

              T C Y 3 Replies Last reply
              0
              • S Stephen Hewitt

                On a side note it is generally better to use an enum to define an integral constant. i.e. enum { ID_MYTIMER = 301 }; One of the reasons is that macros don't obey C++ scoping rule: for example you can't put a macro in a namespace. Steve

                _ Offline
                _ Offline
                _AnsHUMAN_
                wrote on last edited by
                #7

                Thanks for the information. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

                1 Reply Last reply
                0
                • Y yogendra kaushik

                  but i t do not move regulary on page it disappear and not move Please mail me

                  _ Offline
                  _ Offline
                  _AnsHUMAN_
                  wrote on last edited by
                  #8

                  Try Putting Sleep() in your code but it's not a good technique and should be avoided .For experimental basis you can try doing the same. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

                  1 Reply Last reply
                  0
                  • Y yogendra kaushik

                    CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX Please mail me

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

                    Use a timer and whenever it fires, move the text a little bit (you'll need to keep track of its old position). Some tips for your future posts: - don't SHOUT, it is considered rude - when asking a question, do it in a way that it is understandable for everybody (so, explain the problem with sufficient details).


                    Cédric Moonen Software developer
                    Charting control

                    1 Reply Last reply
                    0
                    • Y yogendra kaushik

                      CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX Please mail me

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

                      hey, you will have to speak correctly. this is a board read by many people over the world, so speak english plainly (not SMS like). and DON'T SHOUT :(


                      TOXCCT >>> GEII power

                      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                      1 Reply Last reply
                      0
                      • Y yogendra kaushik

                        CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX Please mail me

                        Y Offline
                        Y Offline
                        yogendra kaushik
                        wrote on last edited by
                        #11

                        CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX I DONT FIND SOLUTION TO MY PROBLEM Please mail me

                        T 1 Reply Last reply
                        0
                        • Y yogendra kaushik

                          CAN SOMEBODY HELP ME TO MOVE TEXT REGULARLY ON DIALOG BOX I DONT FIND SOLUTION TO MY PROBLEM Please mail me

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

                          SHUT UP :mad::mad::mad:


                          TOXCCT >>> GEII power

                          [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                          Y 2 Replies Last reply
                          0
                          • T toxcct

                            SHUT UP :mad::mad::mad:


                            TOXCCT >>> GEII power

                            [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                            Y Offline
                            Y Offline
                            yogendra kaushik
                            wrote on last edited by
                            #13

                            :laugh::laugh::laugh: Please mail me

                            T 1 Reply Last reply
                            0
                            • T toxcct

                              SHUT UP :mad::mad::mad:


                              TOXCCT >>> GEII power

                              [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                              Y Offline
                              Y Offline
                              yogendra kaushik
                              wrote on last edited by
                              #14

                              IDONT ASK IT FRM U THEN WHY R U BEHAVE LIKE THIS Please mail me

                              T K E 3 Replies Last reply
                              0
                              • Y yogendra kaushik

                                :laugh::laugh::laugh: Please mail me

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

                                :~ :suss: X|


                                TOXCCT >>> GEII power

                                [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                                1 Reply Last reply
                                0
                                • Y yogendra kaushik

                                  IDONT ASK IT FRM U THEN WHY R U BEHAVE LIKE THIS Please mail me

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

                                  unless you don't behave correctly yourself on the forum, i wont give you fresh air to breath :mad: have you even read THIS[^] points 2, 6, 8 and 11 apply perfectly to you :suss:


                                  TOXCCT >>> GEII power

                                  [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                                  Y 1 Reply Last reply
                                  0
                                  • Y yogendra kaushik

                                    IDONT ASK IT FRM U THEN WHY R U BEHAVE LIKE THIS Please mail me

                                    K Offline
                                    K Offline
                                    kakan
                                    wrote on last edited by
                                    #17

                                    :confused: But you do want to get some help, don't you? Outbursts like this won't make anyone more willing to help you out.

                                    1 Reply Last reply
                                    0
                                    • T toxcct

                                      unless you don't behave correctly yourself on the forum, i wont give you fresh air to breath :mad: have you even read THIS[^] points 2, 6, 8 and 11 apply perfectly to you :suss:


                                      TOXCCT >>> GEII power

                                      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                                      Y Offline
                                      Y Offline
                                      yogendra kaushik
                                      wrote on last edited by
                                      #18

                                      WAT I DO WITH I DONT UNDERSTAND THE ANS SO IASK AGAIN AND AGAIN IF U DONT HAV THE ANS THEN WHY YOU INTERRUPT AND U SAY MY behave IS NOT GOOD BUT ABOUT YOU AND IF YOU DONT HAV THE ANS THEN ITS OK WHY R U BEHAVING LIKE LOOSER Please mail me

                                      T K 2 Replies Last reply
                                      0
                                      • Y yogendra kaushik

                                        WAT I DO WITH I DONT UNDERSTAND THE ANS SO IASK AGAIN AND AGAIN IF U DONT HAV THE ANS THEN WHY YOU INTERRUPT AND U SAY MY behave IS NOT GOOD BUT ABOUT YOU AND IF YOU DONT HAV THE ANS THEN ITS OK WHY R U BEHAVING LIKE LOOSER Please mail me

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

                                        man, i KNOW the answer, but i will definitely keep it for me as long as you insult me and everybody here. you are here since only 2 weeks, and you allow your self to insult CP seniors. F*CK !! you don't even speak a correct english and you want us to guess your needs ? moreover, i told you not to speak with SMS style, but no way, you keep doing it ! and now, you SHOUT to my face because i tell you nicely what's wrong with your behaviour ? man, do you act like this in real life ? i hope not ! so why because you hide your butt behind a computer you take the right to hurt people ???? DOUBLE F*CK !!! now, continue like this, and i'll continue to fight against you, because i respect people who respect me. no rest for the ones who use me to do the job they are too lazy to do themself


                                        TOXCCT >>> GEII power

                                        [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                                        1 Reply Last reply
                                        0
                                        • Y yogendra kaushik

                                          WAT I DO WITH I DONT UNDERSTAND THE ANS SO IASK AGAIN AND AGAIN IF U DONT HAV THE ANS THEN WHY YOU INTERRUPT AND U SAY MY behave IS NOT GOOD BUT ABOUT YOU AND IF YOU DONT HAV THE ANS THEN ITS OK WHY R U BEHAVING LIKE LOOSER Please mail me

                                          K Offline
                                          K Offline
                                          kakan
                                          wrote on last edited by
                                          #20

                                          Beleive me, tox has got the answer, big time...

                                          Y 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