3

In windows 7 and windows 8 desktop mode there is a way to make your app all alone on screen - shake the window. Recently I found about great lib called Cinder. It has a very good tutorial with a cat in a window with snow!) So I wondered - how to catch and use window shake event on windows from C++ code in order to make a snow ball (I need current direction and speed of window "shake")?

user229044
  • 232,980
  • 40
  • 330
  • 338
myWallJSON
  • 9,110
  • 22
  • 78
  • 149

1 Answers1

3

Your window will receive WM_MOVING messages with the updated window position.

Raymond Chen
  • 44,448
  • 11
  • 96
  • 135