How on C through winapi to move a window to another location on the screen?

  • 2
    Tried to first open the directory? MSDN: SetWindowPos function - Alex Krass
  • Thank. It moves! :) - 0Zerro 5:14
  • @AlexKrass: Then maybe it makes sense to turn in response? - VladD pm

2 answers 2

First try to find a suitable solution in the MSDN reference book, in most cases you will find a suitable function or description there.

MSDN section on Windows API

Your function User Input and Messaging> Windows and Messages> Windows> Window Functions> SetWindowPos

    This can be done using the SetWindowPos () function.