SDL Lib - Problen with window position

Hi!

I started using your SDL and so far it is
great, good documentation, easy to use…

I was browsing help and sent mail to a lot of
people but nobody doesn’t know how to move
window - to set position of the window with function.

I made window 200x200 pixels without frame ( I don’t need frame)
and window is created on the center of the screen.
How to move window to any point on screen?

There is function to resize window, but to move nothing.
It should work on Windows and Linux.

Thanks a lot

	All the best

		Bero

Atlana Software wrote:

Hi!

I started using your SDL and so far it is
great, good documentation, easy to use…

I was browsing help and sent mail to a lot of
people but nobody doesn’t know how to move
window - to set position of the window with function.

I made window 200x200 pixels without frame ( I don’t need frame)
and window is created on the center of the screen.
How to move window to any point on screen?

There is function to resize window, but to move nothing.
It should work on Windows and Linux.

Thanks a lot

  All the best

  	Bero

This page at the official SDL site explains how to do it in Linux:
http://www.libsdl.org/faq/FAQ-Linux.html#LINUX_13
Using some Win32 API functions you should be able to create a Windows
version as well.

Dirk Gerrits

Hello!

I was browsing help and sent mail to a lot of
people but nobody doesn’t know how to move
window - to set position of the window with function.

Please have a look at the thread "placement of windows"
just 3 days before you asked… :slight_smile:

Ciao,
Eike

PS: This IS an FAQ.