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#
  4. how make shaking a window form

how make shaking a window form

Scheduled Pinned Locked Moved C#
questiongraphicsgame-devlounge
5 Posts 4 Posters 1 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.
  • S Offline
    S Offline
    Sasuko
    wrote on last edited by
    #1

    i would make shaking a window form as Yahoo messanger chat make if the user click on a button. How can i do? Someone speak about DirectX, but where are expleining about? If the user of my application haven't got directx on its computer can i use other ways to do that? Thanks.

    C T R S 4 Replies Last reply
    0
    • S Sasuko

      i would make shaking a window form as Yahoo messanger chat make if the user click on a button. How can i do? Someone speak about DirectX, but where are expleining about? If the user of my application haven't got directx on its computer can i use other ways to do that? Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Sasuko wrote: Someone speak about DirectX, but where are expleining about? No, if you just want the window to move a bit, DirectX is certainly not required. In fact, I'm not sure how it could help. All you need to do is create a loop and set the window position within it to differing values, and possible call Application.DoEvents() to make sure the app responds to the events for you. Christian Graus - Microsoft MVP - C++

      1 Reply Last reply
      0
      • S Sasuko

        i would make shaking a window form as Yahoo messanger chat make if the user click on a button. How can i do? Someone speak about DirectX, but where are expleining about? If the user of my application haven't got directx on its computer can i use other ways to do that? Thanks.

        T Offline
        T Offline
        Trivikram Dwivedi
        wrote on last edited by
        #3

        :)Hi Good to See you. For shaking two windows form in same machine or remote machine you can use Remoting Concept of .NET.In Three steps you can achieve this. 1. Create Server:That handle your request 2. A client: request Sender 3. your From. For details mail me.

        1 Reply Last reply
        0
        • S Sasuko

          i would make shaking a window form as Yahoo messanger chat make if the user click on a button. How can i do? Someone speak about DirectX, but where are expleining about? If the user of my application haven't got directx on its computer can i use other ways to do that? Thanks.

          R Offline
          R Offline
          Robert Rohde
          wrote on last edited by
          #4

          Please always search on your own before posting. If you would just have searched for 'shake form' with this little field right beneath the CodeProject logo you would have easily found this.

          1 Reply Last reply
          0
          • S Sasuko

            i would make shaking a window form as Yahoo messanger chat make if the user click on a button. How can i do? Someone speak about DirectX, but where are expleining about? If the user of my application haven't got directx on its computer can i use other ways to do that? Thanks.

            S Offline
            S Offline
            Sasuko
            wrote on last edited by
            #5

            Thanks Christian, tnx robert!

            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